]> git.pld-linux.org Git - packages/kf5-kconfigwidgets.git/blob - kf5-kconfigwidgets.spec
c9a849f81211939cc38a167e9dc81dbb916cd847
[packages/kf5-kconfigwidgets.git] / kf5-kconfigwidgets.spec
1 %define         kdeframever     5.19
2 %define         qtver           5.3.2
3 %define         kfname          kconfigwidgets
4
5 Summary:        Widgets for configuration dialogs
6 Name:           kf5-%{kfname}
7 Version:        5.19.0
8 Release:        1
9 License:        LGPL v2.1+
10 Group:          X11/Libraries
11 Source0:        http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
12 # Source0-md5:  ce0c538d90c1753fea03be8beacfc648
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  Qt5DBus-devel >= %{qtver}
16 BuildRequires:  Qt5Gui-devel >= %{qtver}
17 BuildRequires:  Qt5Test-devel >= %{qtver}
18 BuildRequires:  Qt5Widgets-devel >= %{qtver}
19 BuildRequires:  Qt5Xml-devel >= %{qtver}
20 BuildRequires:  cmake >= 2.8.12
21 BuildRequires:  gettext-devel
22 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
23 BuildRequires:  kf5-karchive-devel >= %{version}
24 BuildRequires:  kf5-kauth-devel >= %{version}
25 BuildRequires:  kf5-kcodecs-devel >= %{version}
26 BuildRequires:  kf5-kconfig-devel >= %{version}
27 BuildRequires:  kf5-kcoreaddons-devel >= %{version}
28 BuildRequires:  kf5-kdoctools-devel >= %{version}
29 BuildRequires:  kf5-kguiaddons-devel >= %{version}
30 BuildRequires:  kf5-ki18n-devel >= %{version}
31 BuildRequires:  kf5-kwidgetsaddons-devel >= %{version}
32 BuildRequires:  rpmbuild(macros) >= 1.164
33 BuildRequires:  tar >= 1:1.22
34 BuildRequires:  xz
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         qt5dir          %{_libdir}/qt5
38
39 %description
40 KConfigWidgets provides easy-to-use classes to create configuration
41 dialogs, as well as a set of widgets which uses KConfig to store their
42 settings.
43
44 %package devel
45 Summary:        Header files for %{kfname} development
46 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kfname}
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49
50 %description devel
51 Header files for %{kfname} development.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe dla programistów używających %{kfname}.
55
56 %prep
57 %setup -q -n %{kfname}-%{version}
58
59 %build
60 install -d build
61 cd build
62 %cmake \
63         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
64         ../
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} -C build/ install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %find_lang %{kfname}5
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files -f %{kfname}5.lang
82 %defattr(644,root,root,755)
83 %doc README.md
84 %attr(755,root,root) %{_bindir}/preparetips5
85 %attr(755,root,root) %ghost %{_libdir}/libKF5ConfigWidgets.so.5
86 %attr(755,root,root) %{_libdir}/libKF5ConfigWidgets.so.*.*
87 %{_mandir}/man1/preparetips5.1*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_includedir}/KF5/KConfigWidgets
92 %{_includedir}/KF5/kconfigwidgets_version.h
93 %{_libdir}/cmake/KF5ConfigWidgets
94 %attr(755,root,root) %{_libdir}/libKF5ConfigWidgets.so
95 %{qt5dir}/mkspecs/modules/qt_KConfigWidgets.pri
This page took 0.040097 seconds and 2 git commands to generate.