]> git.pld-linux.org Git - packages/ka5-kamera.git/blob - ka5-kamera.spec
- updated to 18.12.0
[packages/ka5-kamera.git] / ka5-kamera.spec
1 %define         kdeappsver      18.12.0
2 %define         qtver           5.9.0
3 %define         kaname          kamera
4 Summary:        Kamera
5 Name:           ka5-%{kaname}
6 Version:        18.12.0
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5:  82365a06989fc55e899d7d08611aa040
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  cmake >= 2.8.12
15 BuildRequires:  gettext-devel
16 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
17 BuildRequires:  kf5-kconfig-devel
18 BuildRequires:  kf5-kconfigwidgets-devel
19 BuildRequires:  kf5-kdoctools-devel
20 BuildRequires:  kf5-ki18n-devel
21 BuildRequires:  kf5-kio-devel
22 BuildRequires:  kf5-kxmlgui-devel
23 BuildRequires:  libgphoto2-devel
24 BuildRequires:  qt5-build >= %{qtver}
25 BuildRequires:  rpmbuild(macros) >= 1.164
26 BuildRequires:  shared-mime-info
27 BuildRequires:  tar >= 1:1.22
28 BuildRequires:  xz
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Digital camera support for KDE applications. This package allows any
33 KDE application to access and manipulate pictures on a digital camera.
34
35 %prep
36 %setup -q -n %{kaname}-%{version}
37
38 %build
39 install -d build
40 cd build
41 %cmake \
42         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
43         ..
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} -C build install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{kaname} --all-name --with-kde
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{kaname}.lang
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kamera.so
59 %attr(755,root,root) %{_libdir}/qt5/plugins/kio_kamera.so
60 %{_datadir}/kservices5/camera.protocol
61 %{_datadir}/kservices5/kamera.desktop
62 %{_datadir}/solid/actions/solid_camera.desktop
This page took 0.023568 seconds and 3 git commands to generate.