1 |
%define githash 61a16c1 |
2 |
%define git 20110909 |
3 |
|
4 |
Name: kphotoalbum |
5 |
Version: 4.1.1 |
6 |
Release: %mkrel 4.git.%{git}.1 |
7 |
Summary: Photo album manager |
8 |
License: GPLv2+ |
9 |
# source links on the web site return 404 error |
10 |
# latest release 4.1.1 don't compile with exiv2 from cauldron |
11 |
Source0: %{name}-%{githash}.tar.xz |
12 |
Url: http://www.kphotoalbum.org/ |
13 |
Group: Graphics |
14 |
BuildRequires: pkgconfig(exiv2) |
15 |
BuildRequires: marble-devel |
16 |
|
17 |
Requires: kdelibs4-core |
18 |
|
19 |
%description |
20 |
KPhotoAlbum supports all the normal image formats including |
21 |
raw formats produced by most digital cameras and scanners |
22 |
(using dcraw to do the decoding). |
23 |
It is also possible to use the thumbnails embedded in raw |
24 |
images (that are usually of decent size and quality) for |
25 |
fast viewing so there is no need to decode the whole raw image. |
26 |
|
27 |
%prep |
28 |
%setup -q -n %{name}-%{githash} |
29 |
|
30 |
%build |
31 |
%{cmake_kde4} |
32 |
%{make} |
33 |
|
34 |
%install |
35 |
%{__rm} -fr $RPM_BUILD_ROOT |
36 |
%makeinstall_std -C build |
37 |
desktop-file-install --vendor="" \ |
38 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde4 \ |
39 |
%{buildroot}%{_kde_applicationsdir}/%{name}.desktop |
40 |
desktop-file-install --vendor="" \ |
41 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde4 \ |
42 |
%{buildroot}%{_kde_applicationsdir}/%{name}-import.desktop |
43 |
|
44 |
%clean |
45 |
%{__rm} -rf $RPM_BUILD_ROOT |
46 |
|
47 |
%files |
48 |
%{_kde_bindir}/%{name} |
49 |
%{_kde_iconsdir}/hicolor/*/*/*.png |
50 |
%{_kde_appsdir}/%{name}/* |
51 |
%{_kde_datadir}/config/%{name}rc |
52 |
%{_kde_applicationsdir}/%{name}.desktop |
53 |
%{_kde_applicationsdir}/%{name}-import.desktop |