]> git.pld-linux.org Git - packages/kf5-kdoctools.git/blame - kf5-kdoctools.spec
- updated to 5.91.0
[packages/kf5-kdoctools.git] / kf5-kdoctools.spec
CommitLineData
55d93f88 1# TODO:
55d93f88 2# - runtime Requires if any
19a9b680 3# - package manual pages
518b0c20 4%define kdeframever 5.91
edb42916 5%define qtver 5.15.2
19a9b680 6%define kfname kdoctools
55d93f88
WF
7
8Summary: Create documentation from DocBook
19a9b680 9Name: kf5-%{kfname}
518b0c20 10Version: 5.91.0
01adcdda 11Release: 1
55d93f88
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
301c130f 14Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
518b0c20 15# Source0-md5: f49f6f134a370add0e901aae468c2164
55d93f88 16URL: http://www.kde.org/
19a9b680 17BuildRequires: Qt5Core-devel >= %{qtver}
edb42916 18BuildRequires: cmake >= 3.16
291070a5 19BuildRequires: docbook-dtd45-xml
c0fc4616 20BuildRequires: docbook-style-xsl
291070a5 21BuildRequires: kf5-extra-cmake-modules >= %{version}
19a9b680 22BuildRequires: kf5-karchive-devel >= %{version}
291070a5 23BuildRequires: kf5-ki18n-devel >= %{version}
c0fc4616
JP
24BuildRequires: libxml2-devel
25BuildRequires: libxml2-progs
3b2771ea 26BuildRequires: libxslt-devel
92f9c1c2 27BuildRequires: ninja
291070a5 28BuildRequires: perl-URI
c0fc4616 29BuildRequires: perl-base
19a9b680 30BuildRequires: qt5-linguist >= %{qtver}
9f7d8ac1 31BuildRequires: rpmbuild(macros) >= 1.736
5dae0b25
ER
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
c0fc4616 34Requires: Qt5Core >= %{qtver}
b46360f9 35Requires: kf5-dirs
c0fc4616 36Requires: kf5-karchive >= %{version}
55d93f88
WF
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%define qt5dir %{_libdir}/qt5
40
41%description
42Provides tools to generate documentation in various format from
43DocBook files.
44
45%package devel
19a9b680
AM
46Summary: Header files for %{kfname} development
47Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
55d93f88
WF
48Group: X11/Development/Libraries
49Requires: %{name} = %{version}-%{release}
4cfa5dd1 50Requires: Qt5Core-devel >= %{qtver}
edb42916 51Requires: cmake >= 3.16
55d93f88
WF
52
53%description devel
19a9b680 54Header files for %{kfname} development.
55d93f88
WF
55
56%description devel -l pl.UTF-8
19a9b680 57Pliki nagłówkowe dla programistów używających %{kfname}.
55d93f88
WF
58
59%prep
19a9b680 60%setup -q -n %{kfname}-%{version}
55d93f88
WF
61
62%build
63install -d build
64cd build
92f9c1c2 65%cmake -G Ninja \
19a9b680 66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
55d93f88 67 ../
92f9c1c2 68%ninja_build
55d93f88
WF
69
70%install
71rm -rf $RPM_BUILD_ROOT
92f9c1c2 72%ninja_install -C build
55d93f88 73
185da1bf
AM
74%find_lang %{kfname}5
75
55d93f88
WF
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
185da1bf 82%files -f %{kfname}5.lang
55d93f88
WF
83%defattr(644,root,root,755)
84%doc README.md
85%attr(755,root,root) %{_bindir}/checkXML5
86%attr(755,root,root) %{_bindir}/meinproc5
028dfdf9 87%ghost %{_libdir}/libKF5DocTools.so.5
301c130f 88%attr(755,root,root) %{_libdir}/libKF5DocTools.so.*.*
55d93f88
WF
89%{_docdir}/HTML/*/kdoctools5-common
90%dir %{_datadir}/kf5/kdoctools
91%{_datadir}/kf5/kdoctools/customization
92%{_mandir}/man1/checkXML5.1*
301c130f 93%{_mandir}/man1/meinproc5.1*
55d93f88
WF
94%{_mandir}/man7/kf5options.7*
95%{_mandir}/man7/qt5options.7*
60185c53
WF
96%lang(ca) %{_mandir}/ca/man1/checkXML5.1*
97%lang(ca) %{_mandir}/ca/man1/meinproc5.1*
98%lang(ca) %{_mandir}/ca/man7/kf5options.7*
99%lang(ca) %{_mandir}/ca/man7/qt5options.7*
100%lang(de) %{_mandir}/de/man1/checkXML5.1*
101%lang(de) %{_mandir}/de/man1/meinproc5.1*
102%lang(de) %{_mandir}/de/man7/kf5options.7*
103%lang(de) %{_mandir}/de/man7/qt5options.7*
104%lang(es) %{_mandir}/es/man1/checkXML5.1*
105%lang(es) %{_mandir}/es/man1/meinproc5.1*
106%lang(es) %{_mandir}/es/man7/kf5options.7*
107%lang(es) %{_mandir}/es/man7/qt5options.7*
5ef76ca9 108%lang(it) %{_mandir}/id/man1/checkXML5.1*
60185c53
WF
109%lang(it) %{_mandir}/it/man1/checkXML5.1*
110%lang(it) %{_mandir}/it/man1/meinproc5.1*
111%lang(it) %{_mandir}/it/man7/kf5options.7*
112%lang(it) %{_mandir}/it/man7/qt5options.7*
113%lang(nl) %{_mandir}/nl/man1/checkXML5.1*
114%lang(nl) %{_mandir}/nl/man1/meinproc5.1*
115%lang(nl) %{_mandir}/nl/man7/kf5options.7*
116%lang(nl) %{_mandir}/nl/man7/qt5options.7*
117%lang(pt) %{_mandir}/pt/man1/checkXML5.1*
118%lang(pt) %{_mandir}/pt/man1/meinproc5.1*
119%lang(pt) %{_mandir}/pt/man7/kf5options.7*
120%lang(pt) %{_mandir}/pt/man7/qt5options.7*
121%lang(pt_BR) %{_mandir}/pt_BR/man1/checkXML5.1*
122%lang(pt_BR) %{_mandir}/pt_BR/man1/meinproc5.1*
123%lang(pt_BR) %{_mandir}/pt_BR/man7/kf5options.7*
124%lang(pt_BR) %{_mandir}/pt_BR/man7/qt5options.7*
125%lang(ru) %{_mandir}/ru/man1/checkXML5.1*
126%lang(ru) %{_mandir}/ru/man7/qt5options.7*
127%lang(sv) %{_mandir}/sv/man1/checkXML5.1*
128%lang(sv) %{_mandir}/sv/man1/meinproc5.1*
129%lang(sv) %{_mandir}/sv/man7/kf5options.7*
130%lang(sv) %{_mandir}/sv/man7/qt5options.7*
131%lang(uk) %{_mandir}/uk/man1/checkXML5.1*
132%lang(uk) %{_mandir}/uk/man1/meinproc5.1*
133%lang(uk) %{_mandir}/uk/man7/kf5options.7*
134%lang(uk) %{_mandir}/uk/man7/qt5options.7*
55d93f88
WF
135
136%files devel
137%defattr(644,root,root,755)
301c130f 138%{_includedir}/KF5/KDocTools
55d93f88 139%{_libdir}/cmake/KF5DocTools
028dfdf9 140%{_libdir}/libKF5DocTools.so
This page took 0.14441 seconds and 4 git commands to generate.