|
|
@ -1,4 +1,3 @@
|
|
|
|
# %define snapshot 20140315
|
|
|
|
|
|
|
|
%define framework kdoctools
|
|
|
|
%define framework kdoctools
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
@ -8,11 +7,14 @@ Summary: KDE Frameworks 5 Tier 2 addon for generating documentation
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
License: GPLv2+ and MIT
|
|
|
|
URL: http://www.kde.org
|
|
|
|
URL: http://www.kde.org
|
|
|
|
# git archive --format=tar --prefix=%{framework}-%{version}/ \
|
|
|
|
|
|
|
|
# --remote=git://anongit.kde.org/%{framework}.git master | \
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
%if %{revision} >= 50
|
|
|
|
#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
%global stable unstable
|
|
|
|
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global stable stable
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
@ -32,7 +34,6 @@ Requires: kf5-filesystem
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Provides tools to generate documentation in various format from DocBook files.
|
|
|
|
Provides tools to generate documentation in various format from DocBook files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -53,7 +54,6 @@ Documentation and user help for %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
@ -75,16 +75,15 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%{_kf5_datadir}/man/man8/*
|
|
|
|
%{_kf5_datadir}/man/man8/*
|
|
|
|
%{_kf5_datadir}/kf5/kdoctools
|
|
|
|
%{_kf5_datadir}/kf5/kdoctools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_includedir}/XsltKde
|
|
|
|
%{_kf5_includedir}/XsltKde
|
|
|
|
%{_kf5_libdir}/libKF5XsltKde.a
|
|
|
|
%{_kf5_libdir}/libKF5XsltKde.a
|
|
|
|
%{_kf5_libdir}/cmake/KF5DocTools
|
|
|
|
%{_kf5_libdir}/cmake/KF5DocTools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%{_kf5_docdir}/HTML/*/kdoctools5-common
|
|
|
|
%{_kf5_docdir}/HTML/*/kdoctools5-common
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
- KDE Frameworks 5.4.0
|
|
|
|
- KDE Frameworks 5.4.0
|
|
|
|