kphotoalbum/kphotoalbum.spec

159 lines
4.9 KiB
RPMSpec

Name: kphotoalbum
Version: 5.0.1
Release: 1mamba
Summary: KDE Photo Album
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://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: kdelibs-devel
BuildRequires: libexiv2-devel
BuildRequires: libgcc
BuildRequires: libjpeg-devel
BuildRequires: libkdcraw-devel
BuildRequires: libkipi-devel
BuildRequires: libmarble-devel
BuildRequires: libphonon-devel
BuildRequires: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: marble
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libakonadi-devel
BuildRequires: libkipi-devel >= 4.11
BuildRequires: libmarble-devel >= 4.11
Requires: marble
#Requires: mplayerthumbs is supplied by libkdemultimedia4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# -- 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.
%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
#% 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 %{_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)
%{_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
* 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