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