]> git.pld-linux.org Git - packages/digikam.git/blame - digikam.spec
- release 4
[packages/digikam.git] / digikam.spec
CommitLineData
542fb54c 1#
b939ed32 2%define qtver 4.4.3
c34b6b99 3%define kdever 4.2.1
b939ed32 4
71912001 5Summary: A KDE frontend for gphoto2
9336ef07 6Summary(pl.UTF-8): Interfejs KDE do gphoto2
71912001 7Name: digikam
e8a4598c 8Version: 0.10.0
bd8bfccb 9Release: 4
71912001 10License: GPL
bbee21d4 11Group: X11/Applications/Graphics
c34b6b99
AM
12Source0: http://dl.sourceforge.net/digikam/%{name}-%{version}.tar.bz2
13# Source0-md5: 6c6daf958ff4fe93974f1074ba967cd9
c97fe0ce 14URL: http://www.digikam.org/
f1d85640 15Patch0: %{name}-link.patch
ad6a12d4 16BuildRequires: Qt3Support-devel >= %{qtver}
b939ed32 17BuildRequires: QtCore-devel >= %{qtver}
2e4093ff 18BuildRequires: QtDesigner-devel >= %{qtver}
b939ed32 19BuildRequires: QtSql-devel >= %{qtver}
ad6a12d4 20BuildRequires: QtSvg-devel >= %{qtver}
54e075b6 21BuildRequires: automoc4
27f6a145 22BuildRequires: cmake >= 2.6.2
ad6a12d4 23BuildRequires: jasper-devel
0a708609 24BuildRequires: kde4-kdeedu-devel >= %{kdever}
f1d85640 25BuildRequires: kde4-kdegraphics-devel >= %{kdever}
26BuildRequires: kde4-kdepimlibs-devel >= %{kdever}
ad6a12d4 27BuildRequires: lcms-devel
29465dd2 28BuildRequires: lensfun-devel
ad6a12d4 29BuildRequires: libgphoto2-devel
4bd81adb 30BuildRequires: pkgconfig >= 1:0.9.0
ad6a12d4 31BuildRequires: qt4-qmake >= %{qtver}
16f9da1b 32BuildRequires: rpmbuild(macros) >= 1.129
08c8f1c6 33BuildRequires: sed >= 4.0
b76f708a 34Requires: QtSql-sqlite3
09901b94 35Obsoletes: digikamimageplugins
71912001 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
71912001 38%description
39Designed to be a standalone application to preview and download images
5d9f4722
JB
40from a digital camera on a Linux machine.
41
c2abdcf5
JR
42%description -l pl.UTF-8
43Samodzielna aplikacja do oglądania i ściągania obrazków z aparatów
5d9f4722 44cyfrowych pod Linuksem.
71912001 45
16378764 46%package devel
47Summary: A KDE frontend for gphoto2 - header files
9336ef07 48Summary(pl.UTF-8): Interfejs KDE do gphoto2 - pliki nagłówkowe
16378764 49Group: Development/Libraries
b58138fb 50Requires: %{name} = %{version}-%{release}
16378764 51
52%description devel
b58138fb 53A KDE frontend for gphoto2 - header files.
16378764 54
c2abdcf5
JR
55%description devel -l pl.UTF-8
56Interfejs KDE do gphoto2 - pliki nagłówkowe.
16378764 57
71912001 58%prep
c34b6b99 59%setup -q
f1d85640 60%patch0 -p0
71912001 61
028efeaa 62%build
54e075b6
AM
63install -d build
64cd build
65%cmake \
b939ed32 66 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
cf5ef845 67 -DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
b939ed32 68 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
af5d9803 69%if "%{_lib}" == "lib64"
b939ed32 70 -DLIB_SUFFIX=64 \
af5d9803 71%endif
b939ed32 72 ../
54e075b6 73
71912001 74%{__make}
75
71912001 76%install
77rm -rf $RPM_BUILD_ROOT
5d9f4722 78
25125ed6 79%{__make} -C build install \
20118f11 80 DESTDIR=$RPM_BUILD_ROOT \
b91f9341 81 kde_htmldir=%{_kdedocdir} \
82 kde_libs_htmldir=%{_kdedocdir}
83
08c8f1c6 84%find_lang %{name} --with-kde --all-name
71912001 85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
e8f56759 89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
b58138fb 91
23238fb9 92%files -f %{name}.lang
71912001 93%defattr(644,root,root,755)
08c8f1c6 94%doc AUTHORS ChangeLog README
25125ed6 95%attr(755,root,root) %{_bindir}/digikam
e5426923 96%dir %{_datadir}/apps/digikam/utils
f1d85640 97%attr(755,root,root) %{_datadir}/apps/digikam/utils/digikam-camera
25125ed6
RT
98%attr(755,root,root) %{_bindir}/digikamthemedesigner
99%attr(755,root,root) %{_bindir}/digitaglinktree
100%attr(755,root,root) %{_bindir}/showfoto
7499557c 101%attr(755,root,root) %ghost %{_libdir}/libdigikamdatabase.so.1
25125ed6 102%attr(755,root,root) %{_libdir}/libdigikamdatabase.so.*.*.*
7499557c 103%attr(755,root,root) %ghost %{_libdir}/libdigikamcore.so.1
a7ef1db7 104%attr(755,root,root) %{_libdir}/libdigikamcore.so.*.*.*
25125ed6
RT
105%attr(755,root,root) %{_libdir}/kde4/digikamimageplugin_*.so
106%attr(755,root,root) %{_libdir}/kde4/kio_digikamalbums.so
107%attr(755,root,root) %{_libdir}/kde4/kio_digikamdates.so
108%attr(755,root,root) %{_libdir}/kde4/kio_digikamsearch.so
109%attr(755,root,root) %{_libdir}/kde4/kio_digikamtags.so
7499557c 110%{_mandir}/man1/digitaglinktree.1*
c36996c2 111%dir %{_datadir}/apps/digikam
c36996c2 112%{_datadir}/apps/digikam/about
7499557c 113%{_datadir}/apps/digikam/cameraui.rc
c36996c2 114%{_datadir}/apps/digikam/data
25125ed6
RT
115%{_datadir}/apps/digikam/digikamimageplugin_*.rc
116%{_datadir}/apps/digikam/digikamimagewindowui.rc
117%{_datadir}/apps/digikam/digikamui.rc
7499557c 118%{_datadir}/apps/digikam/icons
25125ed6 119%{_datadir}/apps/digikam/lighttablewindowui.rc
7499557c
ER
120%{_datadir}/apps/digikam/themes
121%{_datadir}/apps/digikam/tips
319a89db 122%{_datadir}/apps/showfoto
25125ed6
RT
123%{_datadir}/kde4/services/digikamalbums.protocol
124%{_datadir}/kde4/services/digikamdates.protocol
7499557c 125%{_datadir}/kde4/services/digikamimageplugin_*.desktop
25125ed6
RT
126%{_datadir}/kde4/services/digikamsearch.protocol
127%{_datadir}/kde4/services/digikamtags.protocol
f1d85640 128%{_datadir}/apps/solid/actions/digikam-opencamera.desktop
25125ed6 129%{_datadir}/kde4/servicetypes/digikamimageplugin.desktop
25125ed6 130%{_desktopdir}/kde4/*.desktop
16378764 131
132%files devel
b58138fb 133%defattr(644,root,root,755)
a7ef1db7 134%attr(755,root,root) %{_libdir}/libdigikamcore.so
25125ed6 135%attr(755,root,root) %{_libdir}/libdigikamdatabase.so
78244360 136%{_includedir}/*.h
b58138fb 137%{_includedir}/digikam
This page took 0.075021 seconds and 4 git commands to generate.