SPECS: biometrics-manager.spec - added use_hicolor patch; %update_...

megabajt megabajt at pld-linux.org
Fri Aug 31 19:44:03 CEST 2007


Author: megabajt                     Date: Fri Aug 31 17:44:03 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added use_hicolor patch; %update_icon_cache
- release 0.3

---- Files affected:
SPECS:
   biometrics-manager.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/biometrics-manager.spec
diff -u SPECS/biometrics-manager.spec:1.2 SPECS/biometrics-manager.spec:1.3
--- SPECS/biometrics-manager.spec:1.2	Fri Aug 31 18:22:37 2007
+++ SPECS/biometrics-manager.spec	Fri Aug 31 19:43:58 2007
@@ -1,35 +1,40 @@
 # $Revision$, $Date$
-#
-Summary:	Graphical frontend for pam_bioapi enrollment.
+Summary:	Graphical frontend for pam_bioapi enrollment
 Name:		biometrics-manager
 Version:	0.4.0
-Release:	0.2
+Release:	0.3
 License:	GPL
-Group:		Applications/Networking
+Group:		X11/Applications/Networking
 Source0:	http://pam-bioapi.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5:	a6bc4a8629ad6ed1fa3d497a2c5cd415
 Patch0:		%{name}-docdir.patch
+Patch1:		%{name}-use_hicolor.patch
 URL:		http://code.google.com/p/pam-bioapi/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	libglade2-devel
+BuildRequires:	libgnomeui-devel
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xorg-lib-libX11-devel
+Requires(post,postun):	gtk+2
+Requires:	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This is graphical frontend for pam_bioapi enrollment.
-It using gnome (glade) libs.
+This is graphical frontend for pam_bioapi enrollment. It uses gnome
+(glade) libs.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure 
+%configure
 %{__make}
 
 %install
@@ -43,6 +48,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
@@ -54,7 +65,7 @@
 %dir %{_datadir}/%{name}/glade
 %{_datadir}/%{name}/glade/fingerprint-manager.glade
 %{_datadir}/%{name}/glade/hands.png
-%{_iconsdir}/gnome/*/devices/fingerprint.png
+%{_iconsdir}/hicolor/*/devices/fingerprint.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +73,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/08/31 17:43:58  megabajt
+- added use_hicolor patch; %update_icon_cache
+- release 0.3
+
 Revision 1.2  2007/08/31 16:22:37  wolvverine
 - add lost dir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/biometrics-manager.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list