rpms/gentoo/devel gentoo.png, NONE, 1.1 .cvsignore, 1.5, 1.6 gentoo.desktop, 1.1, 1.2 gentoo.spec, 1.13, 1.14 sources, 1.5, 1.6 gentoo-0.11.56-lang.patch, 1.1, NONE

Matthias Saou thias at fedoraproject.org
Tue Mar 17 16:03:40 UTC 2009


Author: thias

Update of /cvs/extras/rpms/gentoo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4800

Modified Files:
	.cvsignore gentoo.desktop gentoo.spec sources 
Added Files:
	gentoo.png 
Removed Files:
	gentoo-0.11.56-lang.patch 
Log Message:
Update to 0.15.2, the first gtk2 version at last!



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gentoo/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	28 Aug 2006 09:43:39 -0000	1.5
+++ .cvsignore	17 Mar 2009 16:03:10 -0000	1.6
@@ -1 +1 @@
-gentoo-0.11.56.tar.gz
+gentoo-0.15.2.tar.gz


Index: gentoo.desktop
===================================================================
RCS file: /cvs/extras/rpms/gentoo/devel/gentoo.desktop,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gentoo.desktop	22 Jun 2007 13:15:19 -0000	1.1
+++ gentoo.desktop	17 Mar 2009 16:03:10 -0000	1.2
@@ -1,9 +1,9 @@
 [Desktop Entry]
 Name=Gentoo File Manager
-Comment=Graphical file managment program in GTK+ for Linux
+Comment=Manage files in a split view window
 Icon=gentoo 
 Exec=gentoo
 Terminal=false
 Type=Application
-Categories=Utility;
+Categories=System;FileManager;
 Encoding=UTF-8


Index: gentoo.spec
===================================================================
RCS file: /cvs/extras/rpms/gentoo/devel/gentoo.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- gentoo.spec	24 Feb 2009 20:36:23 -0000	1.13
+++ gentoo.spec	17 Mar 2009 16:03:10 -0000	1.14
@@ -1,19 +1,22 @@
 Summary: Graphical file management program in GTK+ for Linux
 Name: gentoo
-Version: 0.11.56
-Release: 7
+Version: 0.15.2
+Release: 1
 License: GPLv2
 Group: Applications/File
 URL: http://www.obsession.se/gentoo/
 Source0: http://dl.sf.net/gentoo/gentoo-%{version}.tar.gz
 Source1: gentoo.desktop
-Patch0: gentoo-0.11.56-lang.patch
+# Get here http://www.obsession.se/gentoo/gfx/logo.png (not in sources)
+Source2: gentoo.png
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: gtk+-devel, gamin-devel, desktop-file-utils
+BuildRequires: gtk2-devel
+BuildRequires: gamin-devel
+BuildRequires: desktop-file-utils
 
 %description
 gentoo is a file manager for Linux written from scratch in pure C. It
-uses the GTK+ toolkit for all of its interface needs. gentoo provides
+uses the GTK2 toolkit for all of its interface needs. gentoo provides
 100%% GUI configurability; no need to edit config files by hand and re-
 start the program. gentoo supports identifying the type of various
 files (using extension, regular expressions, and/or the 'file' command),
@@ -24,13 +27,6 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .lang
-# Keep only UTF-8 translations. This requires the patch above and is easier
-# like this since it would bloat the patch for nothing.
-for lang in ja ru; do
-    %{__mv} po/${lang}_*.UTF-8.gmo po/${lang}.gmo
-    %{__mv} po/${lang}_*.UTF-8.po po/${lang}.po
-done
 
 
 %build
@@ -42,14 +38,13 @@
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot}
 %find_lang %{name}
+# Included man page, not installed by default
 %{__install} -D -p -m 0644 docs/gentoo.1x %{buildroot}%{_mandir}/man1/gentoo.1
-%{__install} -D -p -m 0644 icons/gentoo.png \
-    %{buildroot}%{_datadir}/pixmaps/gentoo.png
-
+# Our own desktop entry, with its icon
+%{__install} -D -p -m 0644 %{SOURCE2} \
+    %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gentoo.png
 %{__mkdir_p} %{buildroot}%{_datadir}/applications
-desktop-file-install \
-    --vendor "" \
-    --dir %{buildroot}%{_datadir}/applications \
+desktop-file-install --vendor "" --dir %{buildroot}%{_datadir}/applications \
     %{SOURCE1}
 
 
@@ -57,23 +52,42 @@
 %{__rm} -rf %{buildroot}
 
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS BUGS ChangeLog CONFIG-CHANGES COPYING CREDITS docs/
-%doc NEWS ONEWS README README.gtkrc TODO
+%doc NEWS README README.gtkrc TODO
 %config %{_sysconfdir}/gentoo*
 %{_bindir}/gentoo
 %{_datadir}/applications/gentoo.desktop
 %{_datadir}/gentoo/
-%{_datadir}/pixmaps/gentoo.png
+%{_datadir}/icons/hicolor/64x64/apps/gentoo.png
 %{_mandir}/man1/gentoo.1*
 
 
 %changelog
-* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11.56-7
+* Mon Mar 16 2009 Matthias Saou <http://freshrpms.net/> 0.15.2-1
+- Update to 0.15.2, the first gtk2 version at last!
+- Update desktop file Categories to System;FileManager;.
+- Include new 64x64 icon (taken from the website, the sources one is 55x55).
+- Install icon in hicolor directory and include all current relevant scriplets.
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.11.56-6
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org>
 - Autorebuild for GCC 4.3
 
 * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 0.11.56-5


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gentoo/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	28 Aug 2006 09:43:39 -0000	1.5
+++ sources	17 Mar 2009 16:03:10 -0000	1.6
@@ -1 +1 @@
-c28b003a29527813f47908d69d3f44d0  gentoo-0.11.56.tar.gz
+d3b66eeab00efa43c9b744fefe27d863  gentoo-0.15.2.tar.gz


--- gentoo-0.11.56-lang.patch DELETED ---




More information about the fedora-extras-commits mailing list