]> git.pld-linux.org Git - packages/digikam.git/blame - digikam.spec
- more
[packages/digikam.git] / digikam.spec
CommitLineData
71912001 1Summary: A KDE frontend for gphoto2
9336ef07 2Summary(pl.UTF-8): Interfejs KDE do gphoto2
71912001 3Name: digikam
e8a4598c
AM
4Version: 0.10.0
5Release: 0.1
71912001 6License: GPL
bbee21d4 7Group: X11/Applications/Graphics
e8a4598c
AM
8Source0: http://dl.sourceforge.net/digikam/%{name}-%{version}-beta1.tar.bz2
9# Source0-md5: 15b4a4041d3200126b1eeea57361ccdd
71912001 10URL: http://digikam.sourceforge.net/
54e075b6 11# FIXME - add new BR
08c8f1c6 12BuildRequires: autoconf
5f76072b 13BuildRequires: automake
54e075b6 14BuildRequires: automoc4
4bd81adb 15BuildRequires: pkgconfig >= 1:0.9.0
16f9da1b 16BuildRequires: rpmbuild(macros) >= 1.129
08c8f1c6 17BuildRequires: sed >= 4.0
09901b94 18Obsoletes: digikamimageplugins
878ba08e 19# sr@Latn vs. sr@latin
20Conflicts: glibc-misc < 6:2.7
71912001 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
71912001 23%description
24Designed to be a standalone application to preview and download images
5d9f4722
JB
25from a digital camera on a Linux machine.
26
c2abdcf5
JR
27%description -l pl.UTF-8
28Samodzielna aplikacja do oglądania i ściągania obrazków z aparatów
5d9f4722 29cyfrowych pod Linuksem.
71912001 30
16378764 31%package devel
32Summary: A KDE frontend for gphoto2 - header files
9336ef07 33Summary(pl.UTF-8): Interfejs KDE do gphoto2 - pliki nagłówkowe
16378764 34Group: Development/Libraries
b58138fb 35Requires: %{name} = %{version}-%{release}
16378764 36
37%description devel
b58138fb 38A KDE frontend for gphoto2 - header files.
16378764 39
c2abdcf5
JR
40%description devel -l pl.UTF-8
41Interfejs KDE do gphoto2 - pliki nagłówkowe.
16378764 42
71912001 43%prep
e8a4598c 44%setup -q -n %{name}-%{version}-beta1
71912001 45
028efeaa 46%build
54e075b6
AM
47install -d build
48cd build
49%cmake \
af5d9803 50%if "%{_lib}" == "lib64"
54e075b6 51 -DLIB_SUFFIX=64 \
af5d9803 52%endif
54e075b6
AM
53 ../
54
71912001 55%{__make}
56
71912001 57%install
58rm -rf $RPM_BUILD_ROOT
5d9f4722
JB
59
60%{__make} install \
20118f11 61 DESTDIR=$RPM_BUILD_ROOT \
b91f9341 62 kde_htmldir=%{_kdedocdir} \
63 kde_libs_htmldir=%{_kdedocdir}
64
dc07e96c 65rm $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
66
878ba08e 67[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
68 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
08c8f1c6 69%find_lang %{name} --with-kde --all-name
71912001 70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
e8f56759 74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
b58138fb 76
23238fb9 77%files -f %{name}.lang
71912001 78%defattr(644,root,root,755)
08c8f1c6 79%doc AUTHORS ChangeLog README
71912001 80%attr(755,root,root) %{_bindir}/*
b58138fb
JB
81%attr(755,root,root) %{_libdir}/*.so.*.*.*
82%attr(755,root,root) %{_libdir}/kde3/*.so
c36996c2
RT
83%attr(755,root,root) %{_datadir}/apps/digikam/utils/digikam-camera
84%dir %{_datadir}/apps/digikam
85%dir %{_datadir}/apps/digikam/utils
86%{_datadir}/apps/digikam/icons
87%{_datadir}/apps/digikam/themes
88%{_datadir}/apps/digikam/about
89%{_datadir}/apps/digikam/data
90%{_datadir}/apps/digikam/profiles
91%{_datadir}/apps/digikam/tips
92%{_datadir}/apps/digikam/digikam-splash.png
93%{_datadir}/apps/digikam/*.rc
16378764 94%{_datadir}/services/*
95%{_datadir}/servicetypes/*
319a89db 96%{_datadir}/apps/showfoto
af5d9803 97%{_datadir}/apps/konqueror/servicemenus/digikam-*.desktop
20118f11 98%{_desktopdir}/kde/*.desktop
b58138fb 99%{_iconsdir}/[!l]*/*/*/*
af5d9803 100%{_mandir}/man1/digitaglinktree.1*
16378764 101
102%files devel
b58138fb
JB
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_libdir}/*.so
16378764 105%{_libdir}/*.la
78244360 106%{_includedir}/*.h
b58138fb 107%{_includedir}/digikam
This page took 0.083314 seconds and 4 git commands to generate.