SPECS: gnome-wallpaper-tray.spec - build now

wolvverine wolvverine at pld-linux.org
Wed May 16 02:01:23 CEST 2007


Author: wolvverine                   Date: Wed May 16 00:01:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build now

---- Files affected:
SPECS:
   gnome-wallpaper-tray.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/gnome-wallpaper-tray.spec
diff -u SPECS/gnome-wallpaper-tray.spec:1.19 SPECS/gnome-wallpaper-tray.spec:1.20
--- SPECS/gnome-wallpaper-tray.spec:1.19	Fri Mar 23 01:20:38 2007
+++ SPECS/gnome-wallpaper-tray.spec	Wed May 16 02:01:14 2007
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%define		realname	wp_tray
 Summary:	GNOME wallpaper changer lived in notification area
 Summary(pl.UTF-8):	Zmieniacz tapety GNOME obecny w obszarze powiadomień
 Name:		gnome-wallpaper-tray
@@ -6,7 +7,7 @@
 Release:	0.1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://planetearthworm.com/projects/wp_tray/files/wp_tray-%{version}.tar.gz
+Source0:	http://planetearthworm.com/projects/wp_tray/files/%{realname}-%{version}.tar.gz
 # Source0-md5:	27b878b8d3864787388b49e934c1ee60
 URL:		http://planetearthworm.com/projects/wp_tray/		
 BuildRequires:	automake
@@ -39,14 +40,18 @@
 tapety z menu.
 
 %prep
-%setup -q -n wp_tray-%{version}
+%setup -q -n %{realname}-%{version}
 
 %build
 cp -f /usr/share/automake/config.* .
 %configure \
 	--with-boostfilesystem=/usr/%{_lib}/libboost_filesystem.so \
-	--with-boostregex=/usr/%{_lib}/libboost_regex.so 
-%{__make}
+	--with-boostregex=/usr/%{_lib}/libboost_regex.so \
+	--with-gconf-schema-file-dir=%{_sysconfdir}/schemas
+
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT \
+        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,15 +59,30 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{_realname} --with-gnome --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%gconf_schema_install %{_realname}.schemas
+%scrollkeeper_update_post
+
+%preun
+%gconf_schema_uninstall %{_realname}.schemas
+
+%postun
+%scrollkeeper_update_postun
+
 %files
 %defattr(644,root,root,755)
 %doc NEWS README ChangeLog
-%attr(755,root,root) %{_bindir}/wp_tray
-%{_datadir}/wp_tray
-#%{_desktopdir}/*.desktop
+%{_sysconfdir}/schemas/*.schemas
+%{_libdir}/bonobo/servers/*.server
+%attr(755,root,root) /usr/%{_lib}/%{realname}
+#%attr(755,root,root) %{_bindir}/%{realname}
+%{_pixmapsdir}/*.png
+%{_datadir}/%{realname}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -70,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/05/16 00:01:14  wolvverine
+- build now
+
 Revision 1.19  2007/03/23 00:20:38  wolvverine
 - BR version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-wallpaper-tray.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list