]> git.pld-linux.org Git - packages/kf5-kdoctools.git/blob - kf5-kdoctools.spec
- updated to 5.53.0
[packages/kf5-kdoctools.git] / kf5-kdoctools.spec
1 # TODO:
2 # - runtime Requires if any
3 # - package manual pages
4 %define         kdeframever     5.53
5 %define         qtver           5.9.0
6 %define         kfname          kdoctools
7
8 Summary:        Create documentation from DocBook
9 Name:           kf5-%{kfname}
10 Version:        5.53.0
11 Release:        1
12 License:        GPL v2+/LGPL v2.1+
13 Group:          X11/Libraries
14 Source0:        https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
15 # Source0-md5:  905d494671f33de9827c9a4467c0bdc7
16 URL:            http://www.kde.org/
17 BuildRequires:  Qt5Core-devel >= %{qtver}
18 BuildRequires:  Qt5DBus-devel >= %{qtver}
19 BuildRequires:  Qt5Gui-devel >= %{qtver}
20 BuildRequires:  Qt5Test-devel >= %{qtver}
21 BuildRequires:  Qt5Widgets-devel >= %{qtver}
22 BuildRequires:  Qt5Xml-devel >= %{qtver}
23 BuildRequires:  cmake >= 2.8.12
24 BuildRequires:  docbook-dtd45-xml
25 BuildRequires:  kf5-extra-cmake-modules >= %{version}
26 BuildRequires:  kf5-karchive-devel >= %{version}
27 BuildRequires:  kf5-ki18n-devel >= %{version}
28 BuildRequires:  kf5-kwidgetsaddons-devel >= %{version}
29 BuildRequires:  perl-URI
30 BuildRequires:  polkit-qt-1-devel
31 BuildRequires:  qt5-linguist >= %{qtver}
32 BuildRequires:  rpmbuild(macros) >= 1.164
33 BuildRequires:  tar >= 1:1.22
34 BuildRequires:  xz
35 Requires:       kf5-dirs
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %define         qt5dir          %{_libdir}/qt5
39
40 %description
41 Provides tools to generate documentation in various format from
42 DocBook files.
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 Requires:       Qt5Core-devel >= %{qtver}
50 Requires:       cmake >= 2.6.0
51
52 %description devel
53 Header files for %{kfname} development.
54
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe dla programistów używających %{kfname}.
57
58 %prep
59 %setup -q -n %{kfname}-%{version}
60
61 %build
62 install -d build
63 cd build
64 %cmake \
65         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
66         ../
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} -C build/ install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %find_lang %{kfname}5
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files -f %{kfname}5.lang
84 %defattr(644,root,root,755)
85 %doc README.md
86 %attr(755,root,root) %{_bindir}/checkXML5
87 %attr(755,root,root) %{_bindir}/meinproc5
88 %attr(755,root,root) %ghost %{_libdir}/libKF5DocTools.so.5
89 %attr(755,root,root) %{_libdir}/libKF5DocTools.so.*.*
90 %{_docdir}/HTML/*/kdoctools5-common
91 %dir %{_datadir}/kf5/kdoctools
92 %{_datadir}/kf5/kdoctools/customization
93 %{_mandir}/man1/checkXML5.1*
94 %{_mandir}/man1/meinproc5.1*
95 %{_mandir}/man7/kf5options.7*
96 %{_mandir}/man7/qt5options.7*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %{_includedir}/KF5/KDocTools
101 %{_libdir}/cmake/KF5DocTools
102 %attr(755,root,root) %{_libdir}/libKF5DocTools.so
This page took 0.261103 seconds and 3 git commands to generate.