]> git.pld-linux.org Git - packages/ka5-libkcompactdisc.git/blob - ka5-libkcompactdisc.spec
- updated to 17.08.2
[packages/ka5-libkcompactdisc.git] / ka5-libkcompactdisc.spec
1 %define         kdeappsver      17.08.2
2 %define         qtver           5.3.2
3 %define         kaname          libkcompactdisc
4 Summary:        KCompactdisc
5 Name:           ka5-%{kaname}
6 Version:        17.08.2
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:  5705f2791eb02f901b09583c9f32cc2d
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  cmake >= 2.8.12
15 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
16 BuildRequires:  qt5-build >= %{qtver}
17 BuildRequires:  rpmbuild(macros) >= 1.164
18 BuildRequires:  shared-mime-info
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 KCompactDisc
25
26 %package devel
27 Summary:        Header files for %{kaname} development
28 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kpname}
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for %{kaname} development.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe dla programistów używających %{kaname}.
37
38 %prep
39 %setup -q -n %{kaname}-%{version}
40
41 %build
42 install -d build
43 cd build
44 %cmake \
45         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
46         ..
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} -C build install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{kaname} --all-name --with-kde
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %files -f %{kaname}.lang
63 %defattr(644,root,root,755)
64 %attr(755,root,root) %ghost %{_libdir}/libKF5CompactDisc.so.5
65 %attr(755,root,root) %{_libdir}/libKF5CompactDisc.so.*.*.*
66
67 %files devel
68 %defattr(644,root,root,755)
69 %{_includedir}/KF5/KCompactDisc
70 %{_includedir}/KF5/kcompactdisc_version.h
71 %{_libdir}/cmake/KF5CompactDisc
72 %attr(755,root,root) %{_libdir}/libKF5CompactDisc.so
73 %{_libdir}/qt5/mkspecs/modules/qt_KCompactDisc.pri
This page took 0.038028 seconds and 4 git commands to generate.