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