diff --git a/digikam.spec b/digikam.spec index 1e79f64..bf8355a 100644 --- a/digikam.spec +++ b/digikam.spec @@ -1,7 +1,7 @@ %define libname lib%{name} Name: digikam -Version: 4.11.0 +Version: 4.12.0 Release: 1mamba Summary: An advanced digital photo management application Linux, Windows and Mac-OSX Group: Graphical Desktop/Applications/Graphics @@ -236,8 +236,10 @@ Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} %prep %setup -q +#-D -T %build +#:<< _EOF %cmake_kde4 -d build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=OFF \ @@ -268,62 +270,22 @@ rm -f %{buildroot}%{_kde4_icondir}/*/*/apps/showfoto.png rm -f %{buildroot}%{_kde4_icondir}/*/scalable/apps/digikam.svgz rm -f %{buildroot}%{_kde4_icondir}/*/scalable/apps/showfoto.svgz -# FIXME: as fo 3.1.0/kde 4.10 conflicting with kde-l10n -rm -f %{buildroot}%{_kde4_localedir}/*/LC_MESSAGES/libkipi.mo +## FIXME: as fo 3.1.0/kde 4.10 conflicting with kde-l10n +#rm -f %{buildroot}%{_kde4_localedir}/*/LC_MESSAGES/libkipi.mo #% find_lang libkgeomap %find_lang %{name} --with-kde -%find_lang kipiplugins +%find_lang libkipi --with-kde +%find_lang kipiplugins --with-kde -for plugin in \ -acquireimages \ -advancedslideshow \ -batchprocessimages \ -calendar \ -debianscreenshots \ -dlnaexport \ -dngconverter \ -dropbox \ -expoblending \ -facebook \ -flashexport \ -flickrexport \ -galleryexport \ -googledrive \ -gpssync \ -htmlexport \ -imageviewer \ -imageshackexport \ -imgurexport \ -ipodexport \ -jalbumexport \ -jpeglossless \ -kmlexport \ -kopete \ -kioexportimport \ -panorama \ -photivointegration \ -photolayouteditor \ -metadataedit \ -picasawebexport \ -piwigoexport \ -rajceexport \ -printimages \ -rawconverter \ -removeredeyes \ -sendimages \ -shwup \ -smug \ -timeadjust \ -videoslideshow \ -vkontakte \ -wallpaper \ -wikimedia \ -yandexfotki; do - %find_lang kipiplugin_${plugin} - cat kipiplugin_${plugin}.lang >> kipiplugins.lang +find %{buildroot}%{_kde4_localedir}/*/LC_MESSAGES/ \ + -name kipiplugin_*.mo \ + -exec basename {} \; | sort -u | sed "s|\.mo$||"| \ +while read plugin; do + %find_lang ${plugin} --with-kde + cat ${plugin}.lang >> kipiplugins.lang done -#cat libkipi.lang >> kipiplugins.lang +cat libkipi.lang >> kipiplugins.lang %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -497,6 +459,9 @@ done %{_kde4_libdir}/libkipiplugins.so.* %changelog +* Fri Aug 14 2015 Automatic Build System 4.12.0-1mamba +- automatic version update by autodist + * Tue Jun 30 2015 Automatic Build System 4.11.0-1mamba - automatic version update by autodist