SPECS: lastfm-radio.spec - install actually compiled lastfm locale...
qboosh
qboosh at pld-linux.org
Sat Aug 4 18:29:14 CEST 2007
Author: qboosh Date: Sat Aug 4 16:29:14 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- install actually compiled lastfm locale files
---- Files affected:
SPECS:
lastfm-radio.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/lastfm-radio.spec
diff -u SPECS/lastfm-radio.spec:1.11 SPECS/lastfm-radio.spec:1.12
--- SPECS/lastfm-radio.spec:1.11 Sat Jul 21 20:56:47 2007
+++ SPECS/lastfm-radio.spec Sat Aug 4 18:29:09 2007
@@ -9,7 +9,7 @@
Source0: http://static.last.fm/client/Linux/last.fm-%{version}.src.tar.bz2
# Source0-md5: ba4c05af37006815a55eaa508169b6c2
Source1: %{name}.desktop
-Patch0: %{name}-fhs.patch
+Patch0: %{name}-fhs.patch
URL: http://www.last.fm/download/
BuildRequires: QtGui-devel
BuildRequires: QtNetwork-devel
@@ -17,6 +17,7 @@
BuildRequires: QtXml-devel
BuildRequires: alsa-lib-devel
BuildRequires: qt4-build
+BuildRequires: qt4-linguist
BuildRequires: qt4-qmake >= 4.1.0-1.95
Obsoletes: lastfm-player
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,6 +40,9 @@
qt4-qmake
%{__make}
+cd i18n
+%{_libdir}/qt4/bin/lrelease lastfm_*.ts
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/services,%{_datadir}/%{name}/data/{buttons,icons,i18n},%{_desktopdir}}
@@ -49,26 +53,25 @@
install bin/data/icons/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data/icons
install bin/libLastFmTools.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}
install bin/services/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/services
-install i18n/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data/i18n
+install i18n/lastfm_*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/i18n
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
%clean
rm -rf $RPM_BUILD_ROOT
-%postun -p /sbin/ldconfig
-
-%post -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc ChangeLog
%attr(755,root,root) %{_bindir}/last.fm
-%{_datadir}/%{name}
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libLastFmTools.so.*.*.*
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/services
%attr(755,root,root) %{_libdir}/%{name}/services/*.so
+%{_datadir}/%{name}
%{_desktopdir}/*.desktop
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -77,6 +80,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2007/08/04 16:29:09 qboosh
+- install actually compiled lastfm locale files
+
Revision 1.11 2007/07/21 18:56:47 aredridel
- 1.3.0.58
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lastfm-radio.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list