Author: glen Date: Wed Oct 20 11:02:00 2010 GMT Module: packages Tag: HEAD ---- Log message: - unbundle translations, tag with %lang
---- Files affected: packages/clementine: clementine.spec (1.23 -> 1.24) ---- Diffs: ================================================================ Index: packages/clementine/clementine.spec diff -u packages/clementine/clementine.spec:1.23 packages/clementine/clementine.spec:1.24 --- packages/clementine/clementine.spec:1.23 Mon Oct 18 19:03:04 2010 +++ packages/clementine/clementine.spec Wed Oct 20 13:01:52 2010 @@ -1,6 +1,5 @@ # $Revision$, $Date$ # TODO: -# - add missing BRs # - Gstreamer error: "A text/uri-list decoder plugin is required to play this stream, but not installed." # -- Building engines: gst # -- Skipping engines: vlc xine qt-phonon @@ -8,10 +7,6 @@ # vlc xine qt-phonon # - apply patches to libprojectM.spec and use # - make engines pluggable not statically linked, then could enable the bconds -#11:04:19 bs> glen, let me take a look at it [IN] -#11:09:13 bs> glen, look at src/CMakeList.txt, remove lines 634-643 [IN] -#11:19:32 bs> glen, aaaa, no no, it will them ignore them while building... so you've got another problem then i thought... [IN] -#11:20:29 bs> glen, try too look in src/translations in CMakeList.txt and find out where the translations are installed per defualt, and then change the destination [IN] # # Conditional build: %bcond_with engine_xine # without xine engine @@ -32,6 +27,8 @@ Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz # Source0-md5: 3411a0e31bdab7a6693048e934996f40 Patch0: desktop-install.patch +Patch1: unbundle-po.patch +Patch2: build-languages-dynamic.patch BuildRequires: QtCore-devel BuildRequires: QtDBus-devel BuildRequires: QtGui-devel @@ -69,6 +66,7 @@ BuildRequires: qt4-build BuildRequires: qt4-linguist BuildRequires: qt4-qmake +BuildRequires: rpmbuild(find_lang) = 1.33 BuildRequires: rpmbuild(macros) >= 1.577 BuildRequires: sed >= 4.0 %{!?with_static_sqlite:BuildRequires: sqlite3-devel} @@ -99,6 +97,8 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 # We already don't use these but just to make sure rm -rf 3rdparty/gmock @@ -113,6 +113,7 @@ %build install -d build +install -d build/src/translations cd build %cmake \ -DBUNDLE_PROJECTM_PRESETS=OFF \ @@ -134,6 +135,8 @@ rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/application-x-clementine.svg +%find_lang %{name} --with-qm + %clean rm -rf $RPM_BUILD_ROOT @@ -143,7 +146,7 @@ %postun %update_desktop_database_postun -%files +%files -f %{name}.lang %defattr(644,root,root,755) %doc Changelog TODO %attr(755,root,root) %{_bindir}/clementine @@ -156,6 +159,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.24 2010/10/20 11:01:52 glen +- unbundle translations, tag with %lang + Revision 1.23 2010/10/18 17:03:04 glen - enable idevice, mpt support, update deps from cmake rules; rel 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/clementine/clementine.spec?r1=1.23&r2=1.24&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
