]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- added desktop file and icon
authorarvenil <arvenil@pld-linux.org>
Mon, 7 Jan 2008 22:17:03 +0000 (22:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- icon by Karol Kreński (mimooh) <mimooh@inf.sgsp.edu.pl> adapted as icon by me;
  source: http://www.inf.sgsp.edu.pl/pub/MALUNKI_DUZE/ROZNE_DUZE/poldek.xcf.gz

Changed files:
    poldek.desktop -> 1.1
    poldek.png -> 1.1
    poldek.spec -> 1.303

poldek.desktop [new file with mode: 0644]
poldek.png [new file with mode: 0644]
poldek.spec

diff --git a/poldek.desktop b/poldek.desktop
new file mode 100644 (file)
index 0000000..cbaf67c
--- /dev/null
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Poldek
+GenericName=PLD package manager
+GenericName[pl]=Menadżer pakietów PLD
+Comment=RPM packages management helper tool
+Comment[pl]=Pomocnicze narzędzie do zarządzania pakietami RPM
+Exec=poldek
+Terminal=true
+Icon=poldek
+Type=Application
+Categories=Settings;PackageManager;
diff --git a/poldek.png b/poldek.png
new file mode 100644 (file)
index 0000000..ec4ead6
Binary files /dev/null and b/poldek.png differ
index be47c5bb7be39137f1b89713ae6465b8fc8d6a10..92859ed5a5389bb8765578150c714dfcb00fddb8 100644 (file)
@@ -9,7 +9,7 @@
 %define        ver_rpm 4.4.9-1
 #
 %define                _snap   20070703.00
-%define                _rel    10
+%define                _rel    11
 Summary:       RPM packages management helper tool
 Summary(pl.UTF-8):     Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:          poldek
@@ -22,6 +22,10 @@ Source0:     http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{
 Source1:       %{name}.conf
 Source2:       %{name}-multilib.conf
 Source3:       %{name}-aliases.conf
+%if %{with imode}
+Source4:       %{name}.desktop
+Source5:       %{name}.png
+%endif
 Patch1:                %{name}-vserver-packages.patch
 Patch2:                %{name}-config.patch
 Patch3:                %{name}-multilib.patch
@@ -232,6 +236,13 @@ sed '
 
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/aliases.conf
 
+%if %{with imode}
+# add desktop file and icon
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
+install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+install %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+%endif
+
 # get rid of non-pld sources
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{rh,fedora}-source.conf
 # include them in %doc
@@ -326,6 +337,10 @@ fi
 %{_mandir}/man1/%{name}*
 %lang(pl) %{_mandir}/pl/man1/%{name}*
 %{_infodir}/poldek.info*
+%if %{with imode}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%endif
 
 %if !%{with static}
 %files libs
This page took 0.174625 seconds and 4 git commands to generate.