kphotoalbum/kphotoalbum.spec

179 lines
5.5 KiB
RPMSpec
Raw Normal View History

Name: kphotoalbum
Version: 5.8.1
Release: 1mamba
Summary: KDE Photo Album
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kphotoalbum.org/
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
BuildRequires: glibc-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libexiv2-devel
BuildRequires: libgcc
BuildRequires: libjpeg-devel
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdcraw-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libmarble-devel
BuildRequires: libphonon-devel
BuildRequires: libpurpose-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libmarble-devel >= 17.04.3-1mamba
BuildRequires: marble
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libakonadi-devel
BuildRequires: libkipi-devel >= 4.11
Requires: marble
#Requires: mplayerthumbs is supplied by libkdemultimedia4
# -- Could NOT find SharedDesktopOntologies (missing: SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
# -- Could NOT find Nepomuk (missing: SHAREDDESKTOPONTOLOGIES_FOUND)
%description
A photo album tool. Focuses on three key points:
* It must be easy to describe a number of images at a time.
* It must be easy to search for images.
* It must be easy to browse and View the images.
%debug_package
%prep
%setup -q
#%patch0 -p1 -b .docbook.patch
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde --with-html
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
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 %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi
exit 0
%posttrans
update-desktop-database -q &>/dev/null
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/kphotoalbumrc
%{_kde5_bindir}/kphotoalbum
%{_bindir}/kpa-thumbnailtool
%{_kde5_bindir}/kpa-backup.sh
%{_kde5_bindir}/open-raw.pl
%{_libdir}/libkpabase.so
%{_libdir}/libkpaexif.so
%{_libdir}/libkpathumbnails.so
%{_kde5_xdgappsdir}/org.kde.kphotoalbum*.desktop
%{_datadir}/metainfo/org.kde.kphotoalbum.appdata.xml
%dir %{_kde5_datadir}/kphotoalbum
%{_kde5_datadir}/kphotoalbum/default-setup
%{_datadir}/kxmlgui5/kphotoalbum/kphotoalbumui.rc
%{_kde5_datadir}/kphotoalbum/demo
%{_kde5_datadir}/kphotoalbum/pics
%{_kde5_datadir}/kphotoalbum/themes
%{_kde5_datadir}/kphotoalbum/tips
%{_kde5_icondir}/hicolor/*x*/*/*.png
%doc LICENSES
%changelog
* Wed Jun 30 2021 Automatic Build System <autodist@mambasoft.it> 5.8.1-1mamba
- automatic version update by autodist
* Sat Aug 22 2020 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Mon Feb 17 2020 Automatic Build System <autodist@mambasoft.it> 5.6.1-1mamba
- automatic version update by autodist
* Sun Jul 21 2019 Automatic Build System <autodist@mambasoft.it> 5.5-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2-2mamba
- rebuilt by autoport with build requirements: libmarble-devel>=17.04.3-1mamba
* Tue Mar 14 2017 Automatic Build System <autodist@mambasoft.it> 5.2-1mamba
- automatic version update by autodist
* Tue Dec 20 2016 Automatic Build System <autodist@mambasoft.it> 5.1-1mamba
- automatic version update by autodist
* 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
* Fri Feb 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.1-1mamba
- update to 4.7.1
* Wed Feb 17 2016 Automatic Build System <autodist@mambasoft.it> 4.7-1mamba
- automatic version update by autodist
* Tue Sep 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5-2mamba
- rebuilt with libmarble 4.14.0
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5-1mamba
- update to 4.5
* Fri May 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-5mamba
- rebuilt with libmarble 4.13.0
* Fri Dec 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-4mamba
- rebuilt with libkdcraw 4.12.0
* Wed Aug 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-3mamba
- rebuilt with kde 4.11
* Sun May 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4-2mamba
- remove static requirements for libkdemultimedia4 and kdelibs
* Sun May 19 2013 openmamba WebBuild System <webbuild@openmamba.org> 4.4-1mamba
- update to 4.4
* Sat Mar 19 2011 gil <puntogil@libero.it> 4.1.1-1mamba
- package created by autospec