]> git.pld-linux.org Git - packages/digikam.git/blob - digikam.spec
dcc7ef438aa03e9ffb30099a097aad155e1ce0fd
[packages/digikam.git] / digikam.spec
1 Summary:        A KDE frontend for gphoto2
2 Summary(pl):    Interfejs KDE do gphoto2
3 Name:           digikam
4 Version:        0.6
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/digikam/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c841d1bbd51d0105f545f106451d5ae5
10 URL:            http://digikam.sourceforge.net/
11 BuildRequires:  kdelibs-devel
12 BuildRequires:  libexif-devel >= 0.5.7
13 BuildRequires:  libgphoto2-devel
14 BuildRequires:  lockdev-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _htmldir        /usr/share/doc/kde/HTML
18
19 %description
20 Designed to be a standalone application to preview and download images
21 from a digital camera on a Linux machine.
22
23 %description -l pl
24 Samodzielna aplikacja do ogl±dania i ¶ci±gania obrazków z aparatów
25 cyfrowych pod Linuksem.
26
27 %package devel
28 Summary:        A KDE frontend for gphoto2 - header files
29 Summary(pl):    Interfejs KDE do gphoto2 - pliki nag³ówkowe
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 A KDE frontend for gphoto2 - header files.
35
36 %description -l pl
37 Interfejs KDE do gphoto2 - pliki nag³ówkowe.
38
39 %prep
40 %setup -q 
41
42 %build
43 kde_appsdir="%{_applnkdir}"; export kde_appsdir
44 kde_htmldir="%{_htmldir}"; export kde_htmldir
45
46 #%{__make} -f admin/Makefile.common configure.in
47 #cp admin/acinclude.m4.in ./acinclude.m4
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %{__perl} -w admin/am_edit
54
55 %configure \
56         --disable-rpath
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %find_lang %{name} --with-kde
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc README
77 %attr(755,root,root) %{_bindir}/*
78 %attr(755,root,root) %{_libdir}/*.so.*.*.*
79 %attr(755,root,root) %{_libdir}/kde3/*.so
80 %{_libdir}/kde3/*.la
81 %{_applnkdir}/Graphics/*
82 %{_datadir}/services/*
83 %{_datadir}/servicetypes/*
84 %{_datadir}/apps/digikam
85 %{_datadir}/apps/digikamcameraclient
86 %{_iconsdir}/[!l]*/*/*/*
87 %{_mandir}/man1/*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/*.so
92 %{_libdir}/*.la
93 %{_includedir}/digikam
This page took 0.054457 seconds and 2 git commands to generate.