packages: cdcat/cdcat.spec - beta3 - build and install language files manually

uzsolt uzsolt at pld-linux.org
Thu Feb 3 22:20:55 CET 2011


Author: uzsolt                       Date: Thu Feb  3 21:20:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- beta3
- build and install language files manually

---- Files affected:
packages/cdcat:
   cdcat.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: packages/cdcat/cdcat.spec
diff -u packages/cdcat/cdcat.spec:1.25 packages/cdcat/cdcat.spec:1.26
--- packages/cdcat/cdcat.spec:1.25	Thu Jan 27 21:57:19 2011
+++ packages/cdcat/cdcat.spec	Thu Feb  3 22:20:50 2011
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define		devstat	beta2
+%define		devstat	beta3
 Summary:	Hyper's CdCatalog
 Summary(hu.UTF-8):	Hyper CD Katalógusa
 Summary(pl.UTF-8):	Katalog CDków Hypera
@@ -9,8 +9,8 @@
 Epoch:		1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://downloads.sourceforge.net/project/cdcat/cdcat/cdcat-1.1beta2/%{name}-%{version}%{devstat}.tar.bz2
-# Source0-md5:	1d26652cec7b844e0da670a92a181af4
+Source0:	http://downloads.sourceforge.net/project/cdcat/cdcat/cdcat-1.1%{devstat}/%{name}-%{version}%{devstat}.tar.bz2
+# Source0-md5:	0d5eb71d26a898f5db81ef1a4b3a6f24
 Source1:	%{name}.desktop
 Patch0:		%{name}-gcc4.patch
 Patch1:		%{name}-fstab.patch
@@ -50,7 +50,7 @@
 %prep
 %setup -q -n %{name}-%{version}%{devstat}
 %{__sed} -i "s,lrelease,lrelease-qt4,g ;\
-	s,/local,,g ;\
+	s,/usr/local,/usr,g ;\
 	s,\(distfiles.path =\).*,\1 %{_docdir}/%{name}-%{version}," \
 	src/cdcat.pro
 
@@ -65,6 +65,9 @@
 
 %{__make}
 
+cd lang
+lrelease-qt4 *.ts
+
 %install
 rm -rf $RPM_BUILD_ROOT
 cd src
@@ -72,6 +75,8 @@
 
 install -D ../cdcat.png $RPM_BUILD_ROOT%{_pixmapsdir}/cdcat.png
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/cdcat.desktop
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
+install lang/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/translations
 
 %clean
 rm -fr $RPM_BUILD_ROOT
@@ -103,6 +108,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2011/02/03 21:20:50  uzsolt
+- beta3
+- build and install language files manually
+
 Revision 1.25  2011/01/27 20:57:19  sparky
 - BR: QtXml-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cdcat/cdcat.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list