]> git.pld-linux.org Git - packages/kde4-kamera.git/blob - kde4-kamera.spec
a3860c1caefa15c62b66d3a4b33278885a806fd0
[packages/kde4-kamera.git] / kde4-kamera.spec
1 %define         _state          stable
2 %define         orgname         kamera
3 %define         qtver           4.8.1
4
5 Summary:        K Desktop Environment - Digital camera support
6 Summary(pl.UTF-8):      K Desktop Environment - Obsługa kamer cyfrowych
7 Name:           kde4-kamera
8 Version:        4.9.4
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Graphics
12 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5:  0149514336c7707f95d158d83d8b4138
14 URL:            http://www.kde.org/
15 BuildRequires:  Qt3Support-devel >= %{qtver}
16 BuildRequires:  QtCore-devel >= %{qtver}
17 BuildRequires:  automoc4 >= 0.9.88
18 BuildRequires:  cmake >= 2.8.0
19 BuildRequires:  kde4-kdelibs-devel >= %{version}
20 BuildRequires:  libgphoto2-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  perl
23 BuildRequires:  qt4-build >= %{qtver}
24 BuildRequires:  qt4-qmake >= %{qtver}
25 BuildRequires:  rpmbuild(macros) >= 1.600
26 BuildRequires:  xorg-lib-libX11-devel
27 Requires:       kde4-kdebase >= %{version}
28 Obsoletes:      kde4-kdegraphics-kamera < 4.6.99
29 Obsoletes:      kamera <= 4.8.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 kamera is an IO slave and a KControl panel module which allows you to
34 access folders and images within any digital camera supported by the
35 upcoming gPhoto2 libraries. If you have a supported camera, you can
36 start using it with most KDE applications in two easy steps: simply
37 configure your camera model and port type from a list in KControl,
38 then start accessing the camera contents with a kamera:/ URL.
39
40 %description -l pl.UTF-8
41 kamera to moduł IO slave oraz panelu KControl umożliwiający dostęp do
42 folderów i zdjęć w dowolnym aparacie cyfrowym obsługiwanym przez
43 biblioteki gPhoto2. Jeśli mamy obsługiwany aparat, można zacząć używać
44 go w większości aplikacji KDE w dwóch krokach: wybrać model i port
45 aparatu z listy w KControl, a następnie odwoływać się do zawartości
46 aparatu przez URL kamera:/.
47
48 %prep
49 %setup -q -n %{orgname}-%{version}
50
51 %build
52 install -d build
53 cd build
54 %cmake \
55         -DGWENVIEW_SEMANTICINFO_BACKEND=Nepomuk \
56         ../
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build/ install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         kde_htmldir=%{_kdedocdir}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/kde4/kcm_kamera.so
73 %attr(755,root,root) %{_libdir}/kde4/kio_kamera.so
74 %{_datadir}/kde4/services/kamera.desktop
75 %{_datadir}/kde4/services/camera.protocol
76 %{_kdedocdir}/en/kcontrol/kamera
77 %{_datadir}/apps/solid/actions/solid_camera.desktop
This page took 0.096962 seconds and 2 git commands to generate.