packages: minitube/minitube.spec - up to 0.6.1 - drop BR: sed - use make in...

cactus cactus at pld-linux.org
Thu Oct 1 22:22:05 CEST 2009


Author: cactus                       Date: Thu Oct  1 20:22:05 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.6.1
- drop BR: sed
- use make install
- added desktop file and icons

---- Files affected:
packages/minitube:
   minitube.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/minitube/minitube.spec
diff -u packages/minitube/minitube.spec:1.5 packages/minitube/minitube.spec:1.6
--- packages/minitube/minitube.spec:1.5	Fri Jul 31 20:50:41 2009
+++ packages/minitube/minitube.spec	Thu Oct  1 22:22:00 2009
@@ -2,12 +2,12 @@
 Summary:	Minitube is a native YouTube client
 Summary(hu.UTF-8):	Minitube egy natív YouTube kliens
 Name:		minitube
-Version:	0.5
-Release:	0.1
+Version:	0.6.1
+Release:	1
 License:	GPL
 Group:		X11/Applications
 Source0:	http://flavio.tordini.org/files/minitube/%{name}-src-%{version}.tar.gz
-# Source0-md5:	088c8f96590024e61f489c4189346c90
+# Source0-md5:	0e99d4822319abb243515f2829bfacad
 URL:		http://flavio.tordini.org/minitube
 BuildRequires:	QtCore-devel
 BuildRequires:	phonon-devel
@@ -15,7 +15,6 @@
 BuildRequires:	qt4-linguist >= 4.3.3-3
 BuildRequires:	qt4-qmake >= 4.3.3-3
 BuildRequires:	rpmbuild(macros) >= 1.129
-BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,17 +30,16 @@
 
 %prep
 %setup -q -n %{name}
-%{__sed} -i 's@\":/images\/\([^"]*\)@"%{_iconsdir}/hicolor/scalable/apps/minitube/\1@' src/*.cpp
 
 %build
-qmake-qt4
+qmake-qt4 PREFIX=%{_prefix}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/minitube
-install build/target/%{name} $RPM_BUILD_ROOT%{_bindir}
-install images/* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/minitube
+
+INSTALL_ROOT=$RPM_BUILD_ROOT \
+    %{__make} install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,7 +47,9 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
-%{_iconsdir}/hicolor/scalable/apps/minitube
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/*/*/apps/%{name}.*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,6 +57,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/10/01 20:22:00  cactus
+- up to 0.6.1
+- drop BR: sed
+- use make install
+- added desktop file and icons
+
 Revision 1.5  2009/07/31 18:50:41  paszczus
 - updated to 0.5
 - added missing BR: qt4-linguis
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/minitube/minitube.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list