Dan Vrátil 9f3c204
%define framework kapidox
Dan Vrátil 9f3c204
#%define snapshot 20140206
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
Name:           kf5-%{framework}
Dan Vrátil c9da9be
Version:        5.2.0
Dan Vrátil f2b3270
Release:        1%{?dist}
Dan Vrátil 9f3c204
Summary:        KDE Frameworks 5 Tier 4 scripts and data for building API documentation
Dan Vrátil 9f3c204
BuildArch:      noarch
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
License:        BSD
Dan Vrátil 9f3c204
URL:            http://download.kde.org/
Dan Vrátil 9f3c204
# git archive --format=tar --prefix=%{framework}-%{version}/ \
Dan Vrátil 9f3c204
#             --remote=git://anongit.kde.org/%{framework}.git master | \
Dan Vrátil 9f3c204
# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
Dan Vrátil 9f3c204
#Source0:        %{name}-%{version}-%{snapshot}git.tar.bz2
Dan Vrátil f2b3270
Source0:        http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
BuildRequires:  kf5-rpm-macros
Dan Vrátil 9f3c204
BuildRequires:  extra-cmake-modules
Dan Vrátil 9f3c204
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
BuildRequires:  python2-devel
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
Requires:       kf5-filesystem
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%description
Dan Vrátil 9f3c204
Scripts and data for building API documentation (dox) in a standard format and
Dan Vrátil 9f3c204
style.
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%prep
Dan Vrátil 9f3c204
%setup -q -n %{framework}-%{version}
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%build
Dan Vrátil 9f3c204
mkdir -p %{_target_platform}
Dan Vrátil 9f3c204
pushd %{_target_platform}
Dan Vrátil 9f3c204
%{cmake_kf5} ..
Dan Vrátil 9f3c204
popd
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%install
Dan Vrátil 9f3c204
%make_install -C %{_target_platform}
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%post -p /sbin/ldconfig
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%postun -p /sbin/ldconfig
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%files
Dan Vrátil 9f3c204
%doc LICENSE
Dan Vrátil 9f3c204
%{python2_sitelib}/kapidox
Dan Vrátil 83bc921
%{python2_sitelib}/kapidox-%{version}-py2.7.egg-info
Dan Vrátil 9f3c204
%{_kf5_bindir}/kgenapidox
Dan Vrátil 9f3c204
%{_kf5_bindir}/depdiagram-prepare
Dan Vrátil 9f3c204
%{_kf5_bindir}/depdiagram-generate
Dan Vrátil 9f3c204
%{_kf5_bindir}/kgenframeworksapidox
Dan Vrátil 9f3c204
%{_kf5_bindir}/depdiagram-generate-all
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
%changelog
Dan Vrátil c9da9be
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil c9da9be
- KDE Frameworks 5.2.0
Dan Vrátil c9da9be
Dan Vrátil c379379
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil c379379
- KDE Frameworks 5.1.0
Dan Vrátil c379379
Dan Vrátil f2b3270
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil f2b3270
- KDE Frameworks 5.0.0
Dan Vrátil f2b3270
Dan Vrátil 9f3c204
* Mon Jul 07 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil 9f3c204
- Fixed License
Dan Vrátil 9f3c204
- Fixed summary
Dan Vrátil 9f3c204
- Fixed BR
Dan Vrátil 9f3c204
- Made package noarch
Dan Vrátil 9f3c204
- Added license
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 9f3c204
- KDE Frameworks 4.100.0
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil 9f3c204
- KDE Frameworks 4.99.0
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 9f3c204
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 9f3c204
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 9f3c204
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Thu Feb 06 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140206git
Dan Vrátil 9f3c204
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 9f3c204
Dan Vrátil 9f3c204
* Thu Jan 09 2014 Siddharth Sharma <siddharths@fedoraproject.org> - 4.95.0-1
Dan Vrátil 9f3c204
- Initial Release