## spec file for package beryl-core (Version 060918)## Copyright (c) 2006 CyberOrg## Please submit bugfixes or comments via http://www.compiz.net/#%if %_repository = SL10.1xorg7#!BuildIgnore: xorg-x11-compat70-devel%endifBuildRequires: freeglut-devel gcc-c++ gconf2-devel gtk2-devel intltool libdrm-devel libsvg-cairo-devel libwnck-devel pango-devel update-desktop-files xorg-x11-devel xorg-x11-sdk dbus-1-glib dbus-1-devel librsvg-devel startup-notification-devel xorg-x11-compat70-develName: beryl-coreUrl: http://www.beryl-project.org/License: GPLPackager: cyberorg - <cyberorg@cyberorg.info>Group: System/GUI/OtherPreReq: %fillup_prereqRequires: libpng gtk2 librsvg libwnckVersion: 060928Release: 1Summary: Core packge for Alternate OpenGL window and compositing manager- Beryl.BuildRoot: %{_tmppath}/%{name}-%{version}-buildExclusiveArch: %ix86 x86_64 ppc ppc64 ia64Source: beryl-core1.tar.bz2Source1: compositeproto.tar.bz2Source2: libxcomposite.tar.bz2Patch: Mesa-6.4.1-x86_64-fixes-1.patchPatch1: mesadec.patchPatch2: Mesa-configsfactory.diffPatch3: Mesa-configs.diff%description Beryl Project compositing window manager, decorator and theme support The Beryl Project brings 3D desktop visual effects that improve usability of the X Window System and provide increased productivity though plugins and themes contributed by the community giving a rich desktop experience. This package contains the compositing window manager using OpenGL for rendering. A "window manager" allows the manipulation of the multiple applications and dialog windows the are presented on the screen. The composite manager allows windows and other graphics to be combined together to create composite images. This creates the unique effects using these functions. This package is without mesa libGL static linking, uses system libGL. NVIDIA users using new beta driver can use this package with xorg 7.x.Authors:-------- The community at www.compiz.net%package develSummary: Development packages for Beryl. Install beryl-core-devel if you want to develop plugins for the compiz windows and compositing manager.Group: Development/LibrariesRequires: beryl-core = %{version}Requires: freeglut-devel gcc-c++ gtk2-devel intltool libdrm-devel libwnck-devel pango-devel update-desktop-files xorg-x11-devel xorg-x11-sdk dbus-1-glib dbus-1-devel xorg-x11-compat70-devel librsvg-devel%description develThe beryl-core-devel package includes the header files,and developer docs for the beryl-core package.Install beryl-core-devel if you want to develop plugins for the compizwindows and compositing manager.%prep### /bin/ls *.tar.bz2 *.tar.gz 2>/dev/null | perl -ne 'if ($n eq "") { /^(.*)\.tar\.[bg]z2?\s*$/; print "\%setup -q -n . -D -T -b 0"; } else { print " -b $n"; } $n++'%setup -q -n . -D -T -b 0 -b 1 -b 2patch -d beryl-core/mesa -p0 < %{_sourcedir}/Mesa-6.4.1-x86_64-fixes-1.patch#patch -d beryl-core -p0 < %{_sourcedir}/mesadec.patch%if "%(xft-config --prefix)" == "/usr"%define _xorgprefix %{_prefix}patch -d beryl-core/mesa -p0 < %{_sourcedir}/Mesa-configsfactory.diff%else%define _xorgprefix %{_prefix}/X11R6patch -d beryl-core/mesa -p0 < %{_sourcedir}/Mesa-configs.diff%endif%build%if %suse_version == 1010%define _xglprefix %{buildroot}/%{_xorgprefix}/lib/xgl%__install -d -m 755 %{_xglprefix}%__install -d -m 755 %{buildroot}/%{_xorgprefix}/PKG_CONFIG_ORIG=$PKG_CONFIG_PATH# Build inside own development systemexport PKG_CONFIG_PATH=%{_xglprefix}/%_lib/pkgconfig:$PKG_CONFIG_PATHfor pkg in compositeproto libXcompositedopushd $pkg*CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \./autogen.sh --prefix=%{_xglprefix} --libdir=%{_xglprefix}/%_lib%__make %{?jobs:-j%jobs}%makeinstallpopddone%endif##### beryl-core#pushd beryl-core/mesa/include%__ln_s %{_xorgprefix}/include/X11pushd GL%__ln_s %{_xorgprefix}/include/GL/glxproto.hpopdpopdpushd beryl-coreCFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \./autogen.sh --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --enable-librsvg --disable-libsvg-cairo%__make %{?jobs:-j%jobs}%makeinstallpopd%install%__install -d -m 755 %{buildroot}/var/adm/fillup-templatesrm -rf $PREFIXrm -rf %{buildroot}/%{_xorgprefix}/lib/xglfind %{buildroot} -type f -name "*.a" -o -name "*.la" | xargs rm -f%clean%__rm -rf %{buildroot}%files%defattr(-, root, root)%{_bindir}/*%{_datadir}/beryl/*%{_mandir}/*%files devel%defattr(-, root, root)%{_libdir}/pkgconfig/*%{_includedir}/*%changelog -n beryl-core* Thu Sep 28 2006 - cyberorg <cyberorg@cyberorg.info.- preview release- install beryl-core, beryl-plugins, beryl-settings, beryl-manager, emerald and emerald-themes- start with beryl-manager- report bugs at http://bugs.beryl-project.org/* Sun Sep 18 2006 - cyberorg <cyberorg@cyberorg.info>- Initial spec