packages: cairo-dock/cairo-dock.spec - add desktop and icon

lisu lisu at pld-linux.org
Tue Jan 11 14:10:24 CET 2011


Author: lisu                         Date: Tue Jan 11 13:10:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add desktop and icon

---- Files affected:
packages/cairo-dock:
   cairo-dock.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/cairo-dock/cairo-dock.spec
diff -u packages/cairo-dock/cairo-dock.spec:1.8 packages/cairo-dock/cairo-dock.spec:1.9
--- packages/cairo-dock/cairo-dock.spec:1.8	Tue Jan 11 13:52:33 2011
+++ packages/cairo-dock/cairo-dock.spec	Tue Jan 11 14:10:19 2011
@@ -9,6 +9,7 @@
 Source0:	http://download.berlios.de/cairo-dock/%{name}-%{version}.tar.bz2
 # Source0-md5:	242b1d4cc6cf9743771ca1752ad342c7
 URL:		http://developer.berlios.de/projects/cairo-dock/
+Patch0:		%{name}-desktop.patch
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
 BuildRequires:	cairo-devel
@@ -22,6 +23,7 @@
 BuildRequires:	librsvg-devel >= 2.0
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	svg2png
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,9 +53,9 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
-#DOCKDIR=$(pwd)
 %{__libtoolize}
 %{__autoconf}
 %{__aclocal}
@@ -68,6 +70,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+svg2png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %find_lang %{name} --all-name
@@ -101,6 +105,8 @@
 %{_datadir}/%{name}/gauges/Turbo-night-fuel/theme.xml
 %dir %{_datadir}/%{name}/themes
 %{_datadir}/%{name}/themes
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 
 %files devel
 %defattr(644,root,root,755)
@@ -114,6 +120,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/01/11 13:10:19  lisu
+- add desktop and icon
+
 Revision 1.8  2011/01/11 12:52:33  lisu
 - updated to 2.1.0
 - add missing BR: intltool
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cairo-dock/cairo-dock.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list