146 lines
4.6 KiB
RPMSpec
146 lines
4.6 KiB
RPMSpec
Name: kphotoalbum
|
|
Version: 4.5
|
|
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://fr2.rpmfind.net/linux/KDE/stable/kphotoalbum/%{version}/src/kphotoalbum-%{version}.tar.xz
|
|
#Source: ftp://ftp.kde.org/pub/kde/stable/extragear/kphotoalbum-%{version}-kde4.4.0.tar.bz2
|
|
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_kde4
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%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 %{_kde4_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
|
|
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)
|
|
%{_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
|
|
|
|
%changelog
|
|
* 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
|