2024-01-06 01:20:42 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 01:20:42 +01:00
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
Name: kdoctools
|
|
|
|
Version: 5.9.0
|
2024-01-06 01:20:42 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 01:20:42 +01:00
|
|
|
Summary: Provides tools to generate documentation in various format from DocBook files
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.kde.org
|
|
|
|
Source: http://download.kde.org/stable/frameworks/%{majver}/kdoctools-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libkarchive-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 01:20:42 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-xsl
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libkarchive-devel
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: python
|
|
|
|
Requires: docbook-dtds
|
|
|
|
Requires: docbook-xsl
|
2024-01-06 01:20:42 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Provides tools to generate documentation in various format from DocBook files.
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 01:20:42 +01:00
|
|
|
%cmake_kde5 -d build
|
2024-01-06 01:20:42 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
%find_lang kdoctools5 --with-man --with-qt --all-name || touch kdoctools5.lang
|
2024-01-06 01:20:42 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f kdoctools5.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 01:20:42 +01:00
|
|
|
%{_kde5_bindir}/checkXML5
|
|
|
|
%{_kde5_bindir}/meinproc5
|
|
|
|
%{_datadir}/doc/HTML/*/kdoctools5-common
|
|
|
|
%{_kde5_datadir}/kf5/kdoctools
|
|
|
|
%{_mandir}/man1/checkXML5.*
|
|
|
|
%{_mandir}/man7/kf5options.*
|
|
|
|
%{_mandir}/man7/qt5options.*
|
|
|
|
%{_mandir}/man8/meinproc5.*
|
2024-01-06 01:20:42 +01:00
|
|
|
%doc COPYING.LIB LICENSE
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kde5_includedir}/XsltKde
|
|
|
|
%{_kde5_libdir}/libKF5XsltKde.a
|
|
|
|
%{_kde5_libdir}/cmake/KF5DocTools
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
%changelog
|
2024-01-06 01:20:42 +01:00
|
|
|
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
|
|
|
|
- standardize the specfile
|
|
|
|
- add some missing build requirements
|
|
|
|
- add a devel package
|
|
|
|
|
2024-01-06 01:20:42 +01:00
|
|
|
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 21 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 23 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-2mamba
|
|
|
|
- patch to fix KDOCTOOLS_DATA_INSTALL_DIR (see also https://bugs.kde.org/show_bug.cgi?id=341714)
|
|
|
|
|
|
|
|
* Fri Feb 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
|
|
|
|
- package created using the webbuild interface
|