]> git.pld-linux.org Git - packages/ka5-libkcompactdisc.git/blob - ka5-libkcompactdisc.spec
- updated to 19.04.1
[packages/ka5-libkcompactdisc.git] / ka5-libkcompactdisc.spec
1 %define         kdeappsver      19.04.1
2 %define         kframever       5.56.0
3 %define         qtver           5.9.0
4 %define         kaname          libkcompactdisc
5 Summary:        KCompactdisc
6 Name:           ka5-%{kaname}
7 Version:        19.04.1
8 Release:        1
9 License:        GPL v2+/LGPL v2.1+
10 Group:          X11/Libraries
11 Source0:        http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5:  8b135685231e6b15399f4dbb696ca84c
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  Qt5DBus-devel
16 BuildRequires:  cmake >= 2.8.12
17 BuildRequires:  gettext-devel
18 BuildRequires:  kf5-extra-cmake-modules >= %{kframever}
19 BuildRequires:  kf5-kcoreaddons-devel >= %{kframever}
20 BuildRequires:  kf5-ki18n-devel >= %{kframever}
21 BuildRequires:  kf5-solid-devel >= %{kframever}
22 BuildRequires:  ninja
23 BuildRequires:  phonon-qt5-devel >= 4.8.0
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 The KDE Compact Disc library provides an API for applications using
33 the KDE Platform to interface with the CD drives for audio CDs.
34
35 %package devel
36 Summary:        Header files for %{kaname} development
37 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files for %{kaname} development.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe dla programistów używających %{kaname}.
46
47 %prep
48 %setup -q -n %{kaname}-%{version}
49
50 %build
51 install -d build
52 cd build
53 %cmake \
54         -G Ninja \
55         -DHTML_INSTALL_DIR=%{_kdedocdir} \
56         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57         ..
58 %ninja_build
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 %ninja_install -C build
63
64 %find_lang %{kaname} --all-name --with-kde
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files -f %{kaname}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %ghost %{_libdir}/libKF5CompactDisc.so.5
75 %attr(755,root,root) %{_libdir}/libKF5CompactDisc.so.*.*.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 %{_includedir}/KF5/KCompactDisc
80 %{_includedir}/KF5/kcompactdisc_version.h
81 %{_libdir}/cmake/KF5CompactDisc
82 %attr(755,root,root) %{_libdir}/libKF5CompactDisc.so
83 %{_libdir}/qt5/mkspecs/modules/qt_KCompactDisc.pri
This page took 0.196244 seconds and 3 git commands to generate.