1 |
Name: kphotoalbum |
2 |
Epoch: 1 |
3 |
Version: 5.1 |
4 |
Release: %mkrel 1 |
5 |
Summary: Photo album manager |
6 |
License: GPLv2+ |
7 |
Group: Graphics/Utilities |
8 |
Url: https://www.kphotoalbum.org/ |
9 |
Source0: http://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz |
10 |
# Mageia patches: |
11 |
Patch0: kphotoalbum-5.0.1-fix-kxmlgui-install-path.patch |
12 |
BuildRequires: kf5-macros |
13 |
BuildRequires: cmake(KF5CoreAddons) |
14 |
BuildRequires: cmake(KF5I18n) |
15 |
BuildRequires: cmake(KF5KIO) |
16 |
BuildRequires: cmake(KF5DocTools) |
17 |
BuildRequires: cmake(KF5WidgetsAddons) |
18 |
BuildRequires: cmake(KF5Config) |
19 |
BuildRequires: cmake(KF5IconThemes) |
20 |
BuildRequires: cmake(KF5Archive) |
21 |
BuildRequires: cmake(KF5Parts) |
22 |
BuildRequires: cmake(KF5JobWidgets) |
23 |
BuildRequires: pkgconfig(Qt5Core) |
24 |
BuildRequires: pkgconfig(Qt5DBus) |
25 |
BuildRequires: pkgconfig(Qt5Gui) |
26 |
BuildRequires: pkgconfig(Qt5Network) |
27 |
BuildRequires: pkgconfig(Qt5Sql) |
28 |
BuildRequires: pkgconfig(Qt5WebKit) |
29 |
BuildRequires: pkgconfig(Qt5Widgets) |
30 |
BuildRequires: pkgconfig(Qt5Xml) |
31 |
BuildRequires: pkgconfig(phonon4qt5) |
32 |
|
33 |
# Optional/Recommended packages |
34 |
BuildRequires: cmake(KF5Kipi) |
35 |
BuildRequires: cmake(KF5KDcraw) |
36 |
BuildRequires: cmake(KF5KExiv2) |
37 |
BuildRequires: cmake(KF5KFace) |
38 |
BuildRequires: cmake(KF5KGeoMap) |
39 |
BuildRequires: pkgconfig(exiv2) |
40 |
BuildRequires: pkgconfig(libjpeg) |
41 |
|
42 |
Requires: mplayer |
43 |
Recommends: ufraw |
44 |
|
45 |
%description |
46 |
KPhotoAlbum supports all the normal image formats including |
47 |
raw formats produced by most digital cameras and scanners |
48 |
(using dcraw to do the decoding). |
49 |
It is also possible to use the thumbnails embedded in raw |
50 |
images (that are usually of decent size and quality) for |
51 |
fast viewing so there is no need to decode the whole raw image. |
52 |
|
53 |
%files -f %{name}.lang |
54 |
%doc ChangeLog README |
55 |
%{_kf5_bindir}/%{name} |
56 |
%{_kf5_bindir}/kpa-backup.sh |
57 |
%{_kf5_bindir}/open-raw.pl |
58 |
%{_kf5_iconsdir}/hicolor/*/*/*.png |
59 |
%{_kf5_datadir}/%{name}/ |
60 |
%{_kf5_datadir}/kxmlgui5/%{name}/ |
61 |
%{_kf5_sysconfdir}/xdg/%{name}rc |
62 |
%{_kf5_applicationsdir}/org.kde.%{name}.desktop |
63 |
%{_kf5_applicationsdir}/org.kde.%{name}-import.desktop |
64 |
%{_kf5_applicationsdir}/org.kde.%{name}.open-raw.desktop |
65 |
%{_kf5_appdatadir}/org.kde.%{name}.appdata.xml |
66 |
|
67 |
#------------------------------------------------------------------------------ |
68 |
|
69 |
%prep |
70 |
%setup -q |
71 |
%autopatch -p1 |
72 |
|
73 |
%build |
74 |
%cmake_kf5 |
75 |
%make_build |
76 |
|
77 |
%install |
78 |
%make_install -C build |
79 |
|
80 |
%find_lang %{name} --with-html |