rpms/beryl-plugins/devel beryl-plugins.spec,1.10,1.11
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Fri Feb 23 21:58:05 UTC 2007
- Previous message: rpms/Democracy/FC-5 Democracy.spec, 1.2, NONE Makefile, 1.1, NONE branch, 1.1, NONE sources, 1.1, NONE
- Next message: rpms/beryl-plugins/devel .cvsignore,1.7,1.8 sources,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/extras/rpms/beryl-plugins/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9458
Modified Files:
beryl-plugins.spec
Log Message:
- Drop unnecessary dep on fedora-logos (#229793)
- Ugh, fine. Build the unsupported plugins (#227539)
Index: beryl-plugins.spec
===================================================================
RCS file: /cvs/extras/rpms/beryl-plugins/devel/beryl-plugins.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- beryl-plugins.spec 20 Feb 2007 16:15:23 -0000 1.10
+++ beryl-plugins.spec 23 Feb 2007 21:57:32 -0000 1.11
@@ -3,21 +3,22 @@
License: GPL
Group: User Interface/Desktops
Version: 0.1.9999.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Beryl OpenGL window and compositing manager plug-ins
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
Source1: fedora-cubecaps.png
+Source2: http://releases.beryl-project.org/%{version}/%{name}-unsupported-%{version}.tar.bz2
# libdrm is not available on these arches
ExcludeArch: s390 s390x ppc64
-Requires: beryl-core >= %{version}, fedora-logos
+Requires: beryl-core >= %{version}
BuildRequires: beryl-core-devel >= %{version}
BuildRequires: desktop-file-utils, librsvg2-devel
-BuildRequires: perl-XML-Parser, gettext-devel, libjpeg-devel
+BuildRequires: perl(XML::Parser), gettext-devel, libjpeg-devel
Obsoletes: beryl-dbus <= %{version}-%{release}
Provides: beryl-dbus = %{version}-%{release}
@@ -33,12 +34,31 @@
contents of this package take advantage of.
+%package unsupported
+Summary: Unsupported beryl plugins
+Group: User Interface/Desktops
+Requires: %{name} = %{version}-%{release}
+
+%description unsupported
+Beryl plugins that are either:
+* unstable
+* only modestly maintained
+* or completely unmaintained
+
+Use at your own risk.
+
+
%prep
-%setup -q
+%setup -q -a 2
%build
%configure
make %{?_smp_mflags}
+# unsupported plugins
+pushd %{name}-unsupported-%{version}
+%configure
+make %{?_smp_mflags}
+popd
%install
@@ -46,8 +66,27 @@
make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT%{_datadir}/beryl/cubecaps.png $RPM_BUILD_ROOT%{_datadir}/beryl/cubecaps-beryl.png
install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/beryl/cubecaps.png
-find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
%find_lang %{name}
+# hack to figure out which plugins are supported
+(cd $RPM_BUILD_ROOT%{_libdir}/beryl/; ls *.so) > supported-plugins
+# unsupported plugins
+pushd %{name}-unsupported-%{version}
+make DESTDIR=$RPM_BUILD_ROOT install
+# even uglier hack to figure out unsupported plugins
+(find . -name "*.la" | xargs grep dlname | cut -f2 -d"'") > ../unsupported-plugins
+popd
+%find_lang %{name}-extra
+# more hacks for supported/unsupported auto-splitting
+for p in $(cat supported-plugins)
+do
+ echo %{_libdir}/beryl/$p >> %{name}.lang
+done
+for p in $(cat unsupported-plugins)
+do
+ echo %{_libdir}/beryl/$p >> %{name}-extra.lang
+done
+# nuke static libs and libtool archives
+find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
%clean
@@ -57,11 +96,17 @@
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
-%{_libdir}/beryl/*.so
%{_datadir}/beryl/*.png
+%files unsupported -f %{name}-extra.lang
+%defattr(-,root,root,-)
+
%changelog
+* Fri Feb 23 2007 Jarod Wilson <jwilson at redhat.com> 0.1.9999.2-2
+- Drop unnecessary dep on fedora-logos (#229793)
+- Ugh, fine. Build the unsupported plugins (#227539)
+
* Tue Feb 20 2007 Jarod Wilson <jwilson at redhat.com> 0.1.9999.2-1
- beryl 0.1.9999.2 (aka 0.2.0-rc2)
- Previous message: rpms/Democracy/FC-5 Democracy.spec, 1.2, NONE Makefile, 1.1, NONE branch, 1.1, NONE sources, 1.1, NONE
- Next message: rpms/beryl-plugins/devel .cvsignore,1.7,1.8 sources,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list