rpms/gpicview/devel .cvsignore, 1.6, 1.7 gpicview.spec, 1.8, 1.9 sources, 1.6, 1.7

Christoph Wickert cwickert at fedoraproject.org
Sun May 17 16:05:00 UTC 2009


Author: cwickert

Update of /cvs/pkgs/rpms/gpicview/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21653

Modified Files:
	.cvsignore gpicview.spec sources 
Log Message:
* Sun May 17 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.99-1
- Update to 0.1.99 (0.2.0 Beta)
- Require xdg-utils
- Fix URL of Source0
- Run update-desktop-database in %post and %postun



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpicview/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- .cvsignore	20 Dec 2008 12:04:20 -0000	1.6
+++ .cvsignore	17 May 2009 16:04:30 -0000	1.7
@@ -1 +1 @@
-gpicview-0.1.11.tar.gz
+gpicview-0.1.99.tar.gz


Index: gpicview.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gpicview/devel/gpicview.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- gpicview.spec	25 Feb 2009 00:35:03 -0000	1.8
+++ gpicview.spec	17 May 2009 16:04:30 -0000	1.9
@@ -1,21 +1,23 @@
 Name:           gpicview
-Version:        0.1.11
-Release:        2%{?dist}
-Summary:        A Simple and Fast Image Viewer for X
+Version:        0.1.99
+Release:        1%{?dist}
+Summary:        Simple and fast Image Viewer for X
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://lxde.sourceforge.net/gpicview/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  libjpeg-devel, gtk2-devel, desktop-file-utils, gettext
+BuildRequires:  libjpeg-devel, gtk2-devel, desktop-file-utils, gettext, intltool
+Requires:       xdg-utils
 
 %description
-Gpicview is an image viewer:
-* extremely lightweight and fast with low memory usage;
-* very suitable for default image viewer of desktop system;
-* with a simple and intuitive interface.
+Gpicview is an simple and image viewer with a simple and intuitive interface.
+It's extremely lightweight and fast with low memory usage. This makes it 
+very suitable as default image viewer of desktop system. Although it is 
+developed as the primary image viewer of LXDE, the Lightweight X11 Desktop 
+Environment, it only requires GTK+ and can be used in any desktop environment.
 
 
 %prep
@@ -29,10 +31,13 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
-desktop-file-install --vendor="fedora"   --delete-original            \
-  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
+desktop-file-install --vendor="fedora"   --delete-original      \
+  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications               \
+  --remove-category=Application                                 \
+  --remove-category=Utility                                     \
+  --remove-category=Photography                                 \
    $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 %find_lang %{name}
@@ -41,6 +46,15 @@ desktop-file-install --vendor="fedora"  
 rm -rf $RPM_BUILD_ROOT
 
 
+%post
+update-desktop-database &> /dev/null || :
+
+
+%postun
+update-desktop-database &> /dev/null || :
+
+
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS
@@ -51,6 +65,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun May 17 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.1.99-1
+- Update to 0.1.99 (0.2.0 Beta)
+- Require xdg-utils
+- Fix URL of Source0
+- Run update-desktop-database in %%post and %%postun
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpicview/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources	20 Dec 2008 12:04:20 -0000	1.6
+++ sources	17 May 2009 16:04:30 -0000	1.7
@@ -1 +1 @@
-9d52a5d970f3057978b98fe511b55121  gpicview-0.1.11.tar.gz
+8736d4c0d61c0d1a6f371fd2ef9a6091  gpicview-0.1.99.tar.gz




More information about the scm-commits mailing list