rpms/contacts/devel .cvsignore, 1.4, 1.5 contacts.spec, 1.9, 1.10 sources, 1.4, 1.5

Denis Leroy (denis) fedora-extras-commits at redhat.com
Sat Jun 2 14:23:55 UTC 2007


Author: denis

Update of /cvs/pkgs/rpms/contacts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24825

Modified Files:
	.cvsignore contacts.spec sources 
Log Message:
- Update to 0.5
- Updated dependencies
- Added icon cache and desktop database scripts



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/contacts/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	15 Dec 2006 20:35:18 -0000	1.4
+++ .cvsignore	2 Jun 2007 14:23:21 -0000	1.5
@@ -1 +1 @@
-contacts-0.2.tar.gz
+contacts-0.5.tar.gz


Index: contacts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/contacts/devel/contacts.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- contacts.spec	19 Dec 2006 22:44:00 -0000	1.9
+++ contacts.spec	2 Jun 2007 14:23:21 -0000	1.10
@@ -1,10 +1,10 @@
-Name:		contacts        
-Version:        0.2
+Name:           contacts        
+Version:        0.5
 Release:        1%{?dist}
 Summary:        Contacts addressbook
 
-Group:         	Applications/Productivity
-License:       	GPL 
+Group:          Applications/Productivity
+License:        GPL 
 URL:            http://projects.o-hand.com/contacts
 Source0:        http://projects.o-hand.com/sources/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -12,11 +12,10 @@
 Requires(post): GConf2
 Requires(preun): GConf2
 
-BuildRequires:  libglade2-devel >= 2.0.0
+BuildRequires:  gtk2-devel
 BuildRequires:  evolution-data-server-devel >= 1.2.0
-BuildRequires: 	desktop-file-utils intltool gettext
-# Needed for svn snapshot
-#BuildRequires: 	automake gnome-common libtool
+BuildRequires:  desktop-file-utils intltool gettext
+BuildRequires:  libtool
 
 %description
 Contacts is a small, lightweight addressbook that uses libebook. 
@@ -26,12 +25,11 @@
 devices, such as the Nokia 770 or the Sharp Zaurus series of PDAs.
 
 %prep
-%setup -n %{name}-%{version} -q
+%setup -q
 
 
 %build
-#./autogen.sh
-%configure
+%configure --disable-schemas-install --enable-gconf
 make %{?_smp_mflags} 
 
 
@@ -39,13 +37,14 @@
 rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
-desktop-file-install --vendor fedora --delete-original	\
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications   	\
-  --add-category X-Fedora			        \
+desktop-file-install --vendor fedora --delete-original  \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications         \
+  --add-category X-Fedora                               \
   $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 %find_lang Contacts
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -62,9 +61,15 @@
 
 
 %post
+umask 022
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule \
   %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+update-desktop-database &> /dev/null ||:
 
 
 %preun
@@ -76,18 +81,31 @@
 fi
 
 
+%postun
+umask 022
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+update-desktop-database &> /dev/null ||:
+
+
 %files -f Contacts.lang
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog
-%{_sysconfdir}/gconf/schemas/%{name}.schemas
-%{_datadir}/pixmaps/oh-contacts.png
-%{_datadir}/contacts/contacts.glade
-%{_datadir}/applications/fedora-%{name}.desktop
+%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
+%{_datadir}/icons/hicolor/48x48/apps/*.png
+%{_datadir}/applications/*%{name}.desktop
 %{_bindir}/contacts
+%{_mandir}/man1/%{name}*
 
 
 %changelog
-- Change URL
+* Sat Jun  2 2007 Denis Leroy <denis at poolshark.org> - 0.5-1
+- Update to 0.5
+- Updated dependencies
+- Added icon cache and desktop database scripts
+
 * Fri Dec 15 2006 Jesse Keating <jkeating at redhat.com> - 0.2-1
 - build for 0.2
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/contacts/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	15 Dec 2006 20:35:18 -0000	1.4
+++ sources	2 Jun 2007 14:23:21 -0000	1.5
@@ -1 +1 @@
-ad8a4297af14930d45a56d17b39cf0d5  contacts-0.2.tar.gz
+d2150fe286ee6e0518af37f3107cb867  contacts-0.5.tar.gz




More information about the fedora-extras-commits mailing list