rpms/xsane/devel xsane.spec,1.52,1.53
Nils Philippsen (nphilipp)
fedora-extras-commits at redhat.com
Thu Nov 15 15:45:22 UTC 2007
Author: nphilipp
Update of /cvs/pkgs/rpms/xsane/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6441
Modified Files:
xsane.spec
Log Message:
explicitely enable building the gimp plugin in configure call
reorder spec file sections
Index: xsane.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xsane/devel/xsane.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- xsane.spec 27 Sep 2007 13:46:17 -0000 1.52
+++ xsane.spec 15 Nov 2007 15:44:49 -0000 1.53
@@ -52,7 +52,7 @@
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
aclocal -I m4
autoconf
-%configure
+%configure --enable-gimp
make LDFLAGS=
mv src/xsane src/xsane-gimp
@@ -82,6 +82,18 @@
%clean
rm -rf %{buildroot}
+%post gimp
+if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
+ %{_sbindir}/gimp-plugin-mgr --install xsane
+fi
+
+%preun gimp
+if [ $1 = 0 ]; then
+ if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
+ %{_sbindir}/gimp-plugin-mgr --uninstall xsane
+ fi
+fi
+
%files -f XSANE.lang
%defattr(-,root,root)
%doc xsane.[A-Z]*
@@ -101,19 +113,11 @@
%dir %{_sysconfdir}/gimp/plugins.d
%config(noreplace) %{_sysconfdir}/gimp/plugins.d/xsane.conf
-%post gimp
-if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
- %{_sbindir}/gimp-plugin-mgr --install xsane
-fi
-
-%preun gimp
-if [ $1 = 0 ]; then
- if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
- %{_sbindir}/gimp-plugin-mgr --uninstall xsane
- fi
-fi
-
%changelog
+* Thu Oct 15 2007 Nils Philippsen <nphilipp at redhat.com>
+- explicitely enable building the gimp plugin in configure call
+- reorder spec file sections
+
* Wed Sep 05 2007 Nils Philippsen <nphilipp at redhat.com> - 0.994-4
- fix "Category" entries in desktop file
More information about the fedora-extras-commits
mailing list