SPECS: gnome-pkgview.spec - new style macros, rel.3

freetz freetz at pld-linux.org
Thu Jul 7 17:23:26 CEST 2005


Author: freetz                       Date: Thu Jul  7 15:23:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new style macros, rel.3

---- Files affected:
SPECS:
   gnome-pkgview.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/gnome-pkgview.spec
diff -u SPECS/gnome-pkgview.spec:1.11 SPECS/gnome-pkgview.spec:1.12
--- SPECS/gnome-pkgview.spec:1.11	Mon Jun  6 23:45:19 2005
+++ SPECS/gnome-pkgview.spec	Thu Jul  7 17:23:21 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Wyświetlanie wersji zainstalowanych komponentów środowiska GNOME
 Name:		gnome-pkgview
 Version:	1.0.6
-Release:	2
+Release:	3
 License:	GPL
 Group:		X11/Applications
 Source0:	http://www.greatnorthern.demon.co.uk/packages/%{name}/%{name}-%{version}.tar.gz
@@ -21,7 +21,7 @@
 BuildRequires:	libxml2-devel >= 2.0.0
 BuildRequires:	perl-XML-Parser
 BuildRequires:	pkgconfig
-Requires(post):	GConf2
+Requires(post,preun):	GConf2
 Requires:	gnome-desktop >= 2.4.0
 Requires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,7 +48,7 @@
 mv po/{no,nb}.po
 
 %build
-intltoolize --copy --force
+%{__intltoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -68,15 +68,18 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+%gconf_schema_install gnome-pkgview.schemas
+
+%preun
+%gconf_schema_uninstall gnome-pkgview.schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/gconf/schemas/*.schemas
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/*.schemas
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/07/07 15:23:21  freetz
+- new style macros, rel.3
+
 Revision 1.11  2005/06/06 21:45:19  zbyniu
 - BR: gettext-devel, pkgconfig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-pkgview.spec?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list