|
|
@ -1,28 +1,30 @@
|
|
|
|
%global framework kdoctools
|
|
|
|
%global framework kdoctools
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.37.0
|
|
|
|
Version: 5.37.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
|
|
|
BuildRequires: kf5-karchive-devel >= %{version}
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: kf5-karchive-devel >= %{majmin}
|
|
|
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora}
|
|
|
@ -36,7 +38,6 @@ BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: docbook-dtds
|
|
|
|
Requires: docbook-dtds
|
|
|
|
Requires: docbook-style-xsl
|
|
|
|
Requires: docbook-style-xsl
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: kf5-kdoctools-doc < 5.3.0-2
|
|
|
|
Obsoletes: kf5-kdoctools-doc < 5.3.0-2
|
|
|
|
Provides: kf5-kdoctools-doc = %{version}-%{release}
|
|
|
|
Provides: kf5-kdoctools-doc = %{version}-%{release}
|
|
|
@ -61,7 +62,7 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -76,13 +77,13 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang kdoctools5_qt --with-qt --with-man --all-name
|
|
|
|
%find_lang %{name} --all-name --with-html --with-man --with-qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f kdoctools5_qt.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%license COPYING.LIB
|
|
|
|
%license COPYING.LIB
|
|
|
|
%{_kf5_libdir}/libKF5DocTools.so.5*
|
|
|
|
%{_kf5_libdir}/libKF5DocTools.so.5*
|
|
|
@ -91,10 +92,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%{_kf5_bindir}/meinproc5
|
|
|
|
%{_kf5_bindir}/meinproc5
|
|
|
|
%{_kf5_mandir}/man1/*.1*
|
|
|
|
%{_kf5_mandir}/man1/*.1*
|
|
|
|
%{_kf5_mandir}/man7/*.7*
|
|
|
|
%{_kf5_mandir}/man7/*.7*
|
|
|
|
%{_kf5_mandir}/man8/*.8*
|
|
|
|
|
|
|
|
%{_kf5_datadir}/kf5/kdoctools/
|
|
|
|
%{_kf5_datadir}/kf5/kdoctools/
|
|
|
|
# FIXME/TODO: %%lang'ify these -- rex
|
|
|
|
|
|
|
|
%{_kf5_docdir}/HTML/*/kdoctools5-common/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_includedir}/KDocTools/
|
|
|
|
%{_kf5_includedir}/KDocTools/
|
|
|
@ -102,7 +100,6 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%{_kf5_libdir}/cmake/KF5DocTools/
|
|
|
|
%{_kf5_libdir}/cmake/KF5DocTools/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
|
|
|
|
* Fri Aug 25 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.37.0-1
|
|
|
|
- 5.37.0
|
|
|
|
- 5.37.0
|
|
|
|