]> git.pld-linux.org Git - packages/gtkpod.git/commitdiff
- up to 1.0.0
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 27 Dec 2010 23:23:23 +0000 (23:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    desktop.patch -> 1.1
    gtkpod.desktop -> 1.5
    gtkpod.spec -> 1.29

desktop.patch [new file with mode: 0644]
gtkpod.desktop [deleted file]
gtkpod.spec

diff --git a/desktop.patch b/desktop.patch
new file mode 100644 (file)
index 0000000..36d264b
--- /dev/null
@@ -0,0 +1,15 @@
+the pl comment should go to .po file really
+
+--- gtkpod-1.0.0/data/gtkpod.desktop.in~       2010-08-01 17:02:42.000000000 +0300
++++ gtkpod-1.0.0/data/gtkpod.desktop.in        2010-12-28 01:17:41.542790127 +0200
+@@ -2,8 +2,9 @@
+ _Name=gtkpod iPod Manager
+ _GenericName=iPod Manager
+ _Comment=Manage music and video on an Apple iPod
++Comment[pl]=Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
+ Exec=gtkpod
+ Icon=gtkpod
+ Terminal=false
+ Type=Application
+-Categories=GTK;AudioVideo;
++Categories=GTK;Utility;Audio;
diff --git a/gtkpod.desktop b/gtkpod.desktop
deleted file mode 100644 (file)
index c5f81a9..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=GtkPod
-Comment=Graphical song management program for Apple's iPod
-Comment[pl]=Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
-Exec=gtkpod
-Terminal=false
-Type=Application
-Icon=gtkpod
-Categories=GTK;Utility;Audio;
-StartupNotify=false
-# vi: encoding=utf-8
\ No newline at end of file
index c9fd851fa6b0872c9c20870b29348c97c005cc93..af0ecd977416db789ebd85de72101825c5b4eab6 100644 (file)
@@ -1,16 +1,14 @@
-%define                _snap   20060804
 Summary:       Graphical song management program for Apple's iPod
 Summary(pl.UTF-8):     Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod
 Name:          gtkpod
-Version:       0.99.14
+Version:       1.0.0
 Release:       1
-Epoch:         0
 License:       GPL/LGPL
 Group:         Applications/Communications
-Source0:       http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
-# Source0-md5: f7948eceb955b302f4c47da4c0e1ec12
-Source1:       %{name}.desktop
+Source0:       http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz
+# Source0-md5: cadd402dcd1cfbedda0357bf24965a7c
 Patch0:                %{name}-unk208.patch
+Patch1:                desktop.patch
 URL:           http://gtkpod.sourceforge.net/
 BuildRequires: flex
 BuildRequires: gettext-devel >= 0.11.0
@@ -23,7 +21,9 @@ BuildRequires:        mpeg4ip-devel
 BuildRequires: perl-XML-Parser
 BuildRequires: pkgconfig
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.596
 BuildRequires: sed >= 4.0
+Requires:      hicolor-icon-theme
 Requires:      mount
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,6 +38,7 @@ urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 sed -ie 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
 
 %build
@@ -46,25 +47,27 @@ sed -ie 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_desktopdir}
-cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gtkpod.desktop
-
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
-cp data/icons/32x32/gtkpod.png $RPM_BUILD_ROOT%{_pixmapsdir}/gtkpod.png
+rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg
 
 %find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODOandBUGS.txt
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
 %{_datadir}/%{name}
-%{_desktopdir}/gtkpod.desktop
-%{_pixmapsdir}/gtkpod.png
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/hicolor/*/apps/%{name}.png
This page took 0.085853 seconds and 4 git commands to generate.