rpms/contacts/FC-6 .cvsignore, 1.3, 1.4 contacts.spec, 1.7, 1.8 sources, 1.4, 1.5

Denis Leroy (denis) fedora-extras-commits at redhat.com
Mon Jul 9 06:37:52 UTC 2007


Author: denis

Update of /cvs/pkgs/rpms/contacts/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv787

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/FC-6/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	13 Aug 2006 20:57:41 -0000	1.3
+++ .cvsignore	9 Jul 2007 06:37:17 -0000	1.4
@@ -1 +1 @@
-contacts-0.1svn.tar.gz
+contacts-0.5.tar.gz


Index: contacts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/contacts/FC-6/contacts.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- contacts.spec	19 Dec 2006 22:37:51 -0000	1.7
+++ contacts.spec	9 Jul 2007 06:37:17 -0000	1.8
@@ -1,22 +1,21 @@
-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://www.openedhand.com/~chris/%{name}-%{version}.tar.gz
+Source0:        http://projects.o-hand.com/sources/%{name}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(pre): GConf2
 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,17 +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
+* 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/FC-6/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	19 Dec 2006 22:37:51 -0000	1.4
+++ sources	9 Jul 2007 06:37:17 -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