update to 5.0.1 [release 5.0.1-1mamba;Tue Nov 22 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 02:38:00 +01:00
parent 0dfe6c0f73
commit d3a6d7b132

View File

@ -1,5 +1,5 @@
Name: kphotoalbum Name: kphotoalbum
Version: 4.7.2 Version: 5.0.1
Release: 1mamba Release: 1mamba
Summary: KDE Photo Album Summary: KDE Photo Album
Group: Graphical Desktop/Applications/Graphics Group: Graphical Desktop/Applications/Graphics
@ -7,8 +7,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kphotoalbum.org/ URL: http://kphotoalbum.org/
Source: http://fr2.rpmfind.net/linux/KDE/stable/kphotoalbum/%{version}/src/kphotoalbum-%{version}.tar.xz Source: http://ftp.gwdg.de/pub/linux/kde/stable/kphotoalbum/%{version}/kphotoalbum-%{version}.tar.xz
#Source: http://download.kde.org/stable/extragear/kphotoalbum-%{version}-kde4.4.0.tar.bz2
Patch0: kphotoalbum-4.1.1-docbook.patch Patch0: kphotoalbum-4.1.1-docbook.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -50,7 +49,7 @@ A photo album tool. Focuses on three key points:
#%patch0 -p1 -b .docbook.patch #%patch0 -p1 -b .docbook.patch
%build %build
%cmake_kde4 -d build %cmake_kde5 -d build
%make %make
@ -60,22 +59,22 @@ A photo album tool. Focuses on three key points:
%find_lang %{name} --all-name --with-kde %find_lang %{name} --all-name --with-kde
%check #% check
desktop-file-validate %{buildroot}%{_kde4_xdgappsdir}/kphotoalbum-import.desktop #desktop-file-validate %{buildroot}%{_kde4_xdgappsdir}/kphotoalbum-import.desktop
desktop-file-validate %{buildroot}%{_kde4_xdgappsdir}/kphotoalbum.desktop #desktop-file-validate %{buildroot}%{_kde4_xdgappsdir}/kphotoalbum.desktop
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
exit 0 exit 0
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null update-desktop-database -q &>/dev/null
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi fi
exit 0 exit 0
@ -86,44 +85,45 @@ exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/kphotoalbum %{_kde5_bindir}/kphotoalbum
%{_kde4_bindir}/kpa-backup.sh %{_kde5_bindir}/kpa-backup.sh
%{_kde4_bindir}/open-raw.pl %{_kde5_bindir}/open-raw.pl
%{_kde4_xdgappsdir}/kphotoalbum-import.desktop %{_kde5_xdgappsdir}/org.kde.kphotoalbum*.desktop
%{_kde4_xdgappsdir}/kphotoalbum.desktop %{_datadir}/metainfo/org.kde.kphotoalbum.appdata.xml
%{_kde4_icondir}/hicolor/*x*/*/*.png %{_kde5_icondir}/hicolor/*x*/*/*.png
%dir %{_kde4_datadir}/kphotoalbum %dir %{_kde5_datadir}/kphotoalbum
%{_kde4_datadir}/kphotoalbum/default-layout.xml %{_kde5_datadir}/kphotoalbum/default-layout.xml
%{_kde4_datadir}/kphotoalbum/default-setup %{_kde5_datadir}/kphotoalbum/default-setup
%{_kde4_datadir}/kphotoalbum/*.rc %{_kde5_datadir}/kphotoalbum/*.rc
%{_kde4_datadir}/kphotoalbum/demo %{_kde5_datadir}/kphotoalbum/demo
%dir %{_kde4_datadir}/kphotoalbum/icons #%dir %{_kde5_datadir}/kphotoalbum/icons
%dir %{_kde4_datadir}/kphotoalbum/icons/hicolor #%dir %{_kde5_datadir}/kphotoalbum/icons/hicolor
%{_kde4_datadir}/kphotoalbum/icons/hicolor/*/actions/*.png #%{_kde5_datadir}/kphotoalbum/icons/hicolor/*/actions/*.png
%{_kde4_datadir}/kphotoalbum/pics %{_kde5_datadir}/kphotoalbum/pics
%{_kde4_datadir}/kphotoalbum/themes %{_kde5_datadir}/kphotoalbum/themes
%{_kde4_datadir}/kphotoalbum/tips %{_kde5_datadir}/kphotoalbum/tips
%{_kde4_xdgappsdir}/open-raw.desktop #%{_kde5_xdgappsdir}/open-raw.desktop
%{_kde4_htmldir}/fr/kphotoalbum/*.docbook %{_kde5_htmldir}/fr/kphotoalbum/*.docbook
%{_kde4_htmldir}/fr/kphotoalbum/common %{_kde5_htmldir}/fr/kphotoalbum/index.cache.bz2
%{_kde4_htmldir}/fr/kphotoalbum/index.cache.bz2 %{_kde5_htmldir}/nl/kphotoalbum/*.docbook
%{_kde4_htmldir}/nl/kphotoalbum/*.docbook %{_kde5_htmldir}/nl/kphotoalbum/index.cache.bz2
%{_kde4_htmldir}/nl/kphotoalbum/common %{_kde5_htmldir}/pt/kphotoalbum/*.docbook
%{_kde4_htmldir}/nl/kphotoalbum/index.cache.bz2 %{_kde5_htmldir}/pt/kphotoalbum/index.cache.bz2
%{_kde4_htmldir}/pt/kphotoalbum/*.docbook %config %{_kde5_configdir}/kphotoalbumrc
%{_kde4_htmldir}/pt/kphotoalbum/common %doc %lang(de) %{_kde5_htmldir}/de
%{_kde4_htmldir}/pt/kphotoalbum/index.cache.bz2 %doc %lang(en) %{_kde5_htmldir}/en
%config %{_kde4_configdir}/kphotoalbumrc #%doc %lang(et) %{_kde5_htmldir}/et
%doc %lang(de) %{_kde4_htmldir}/de %doc %lang(it) %{_kde5_htmldir}/it
%doc %lang(en) %{_kde4_htmldir}/en %doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR
#%doc %lang(et) %{_kde4_htmldir}/et %doc %lang(sv) %{_kde5_htmldir}/sv
%doc %lang(it) %{_kde4_htmldir}/it %doc %lang(uk) %{_kde5_htmldir}/uk
%doc %lang(pt_BR) %{_kde4_htmldir}/pt_BR %doc COPYING COPYING.DOC
%doc %lang(sv) %{_kde4_htmldir}/sv #ChangeLog README
%doc %lang(uk) %{_kde4_htmldir}/uk
%doc COPYING COPYING.DOC ChangeLog README
%changelog %changelog
* Tue Nov 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.1-1mamba
- update to 5.0.1
* Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba * Thu Aug 04 2016 Automatic Build System <autodist@mambasoft.it> 4.7.2-1mamba
- automatic version update by autodist - automatic version update by autodist