[compiz-plugins-main] initial import (from compiz09 fedorapeople repo)

Adam Williamson adamwill at fedoraproject.org
Tue Jan 18 13:29:57 UTC 2011


commit 467fc1d665b963d5932d122152b027849d71c481
Author: Adam Williamson <awilliam at redhat.com>
Date:   Tue Jan 18 13:29:32 2011 +0000

    initial import (from compiz09 fedorapeople repo)

 .gitignore               |    1 +
 compiz-plugins-main.spec |  124 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2132b67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/compiz-plugins-main-0.9.2.1.tar.bz2
diff --git a/compiz-plugins-main.spec b/compiz-plugins-main.spec
new file mode 100644
index 0000000..60f409e
--- /dev/null
+++ b/compiz-plugins-main.spec
@@ -0,0 +1,124 @@
+# handy way to generate this, from the top-level source dir: ls -d */ | sed -e 's,/,,g' -e 's,jpeg,imgjpeg,g' | tr '\n' ' '
+%global	plugins	animation colorfilter expo ezoom imgjpeg kdecompat mag mousepoll neg opacify put resizeinfo ring scaleaddon session shift snap staticswitcher text thumbnail titleinfo vpswitch wall winrules workarounds
+%global plugins_compiz %(echo %{plugins} | sed -e 's/\\</compiz-/g')
+
+Name:		compiz-plugins-main
+Version:	0.9.2.1
+Release:	4%{?dist}
+Summary:	Main set of plugins for Compiz
+
+Group:		User Interface/Desktops
+License:	GPLv2+
+URL:		http://www.compiz.org
+Source0:	http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
+# libdrm is not available on these arches
+ExcludeArch:	s390 s390x ppc64
+BuildRequires:	cmake
+BuildRequires:	compiz-devel >= %{version}
+BuildRequires:	boost-devel
+BuildRequires:	pango-devel
+BuildRequires:	cairo-devel
+BuildRequires:	libjpeg-turbo-devel
+BuildRequires:	libGLU-devel
+BuildRequires:	GConf2
+Requires:	compiz >= %{version}
+Obsoletes:	compiz-fusion < 0.9
+Provides:	compiz-fusion = %{version}-%{release}
+
+%description
+A set of the most important and widely used plugins for the Compiz
+compositing manager.
+
+%package	devel
+Summary:	Development headers for %{name}
+Group:		Development/Libraries
+Requires:	compiz-devel = %{version}-%{release}
+
+%description	devel
+This package includes the header files and developer docs for plugins
+from which other plugins can be developed. Install this package if you
+want to develop plugins that are built off plugins in 
+compiz-plugins-main.
+
+%package	gconf
+Summary:	GConf schemas for %{name}
+Group:		User Interface/Desktops
+
+Requires:		%{name} = %{version}-%{release}
+Requires(pre):		GConf2
+Requires(post):		GConf2
+Requires(preun):	GConf2
+
+Provides:	compiz-fusion-gnome = %{version}-%{release}
+Obsoletes:	compiz-fusion-gnome < 0.9
+
+%description	gconf
+This package contains the GConf schemas for plugins in the %{name}
+package. Only install it if you wish to use the deprecated GConf
+configuration storage scheme for Compiz. Typically you should not
+install this.
+
+%prep
+%setup -q
+
+%build
+mkdir build
+pushd build
+%cmake -DCOMPIZ_BUILD_WITH_RPATH=OFF -DCOMPIZ_PACKAGING_ENABLED=ON -DCOMPIZ_PLUGIN_INSTALL_TYPE=package -DCOMPIZ_DISABLE_SCHEMAS_INSTALL=ON -DCOMPIZ_INSTALL_GCONF_SCHEMA_DIR=%{_sysconfdir}/gconf/schemas ..
+make VERBOSE=1 %{?_smp_mflags}
+popd
+
+%install
+pushd build
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+popd
+
+for f in %{plugins}; do
+  echo %{_libdir}/compiz/lib$f.so
+  echo %{_datadir}/compiz/$f.xml
+done >> files.txt
+
+for f in %{plugins}; do
+  echo %{_sysconfdir}/gconf/schemas/compiz-$f.schemas
+done >> gconf-files.txt
+
+%clean
+rm -rf %{buildroot}
+
+%post gconf
+%gconf_schema_upgrade %{plugins_compiz}
+
+%pre gconf
+%gconf_schema_prepare %{plugins_compiz}
+
+%preun gconf
+%gconf_schema_remove %{plugins_compiz}
+
+%files -f files.txt
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS
+%{_datadir}/compiz/colorfilter
+%{_datadir}/compiz/mag
+
+%files gconf -f gconf-files.txt
+%defattr(-,root,root,-)
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/compiz/*
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
+* Sun Jan 16 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-4
+- BR GConf2 (or else the scriptlet macros don't get expanded)
+
+* Sun Jan 16 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-3
+- small cleanups
+
+* Sun Jan 16 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-2
+- split off the gconf schemas into a sub-package
+- obsolete compiz-fusion and compiz-fusion-gnome
+
+* Sat Jan 15 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..53be955 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+28957f950e205ad94fd57167e924df07  compiz-plugins-main-0.9.2.1.tar.bz2


More information about the scm-commits mailing list