|
|
301b2d7 |
%global date 20130714
|
|
|
301b2d7 |
%global checkout %{date}svn
|
|
|
301b2d7 |
|
|
|
301b2d7 |
Name: CutyCapt
|
|
|
301b2d7 |
Version: 0
|
|
|
9110cbe |
Release: 0.5.%{checkout}%{?dist}
|
|
|
301b2d7 |
Summary: A small command-line utility to capture WebKit's rendering of a web page
|
|
|
301b2d7 |
|
|
|
301b2d7 |
License: GPLv2+ and LGPLv2+
|
|
|
301b2d7 |
URL: http://cutycapt.sourceforge.net/
|
|
|
301b2d7 |
# The source for this package was pulled from upstream's vcs. Use the
|
|
|
301b2d7 |
# following commands to generate the tarball:
|
|
|
301b2d7 |
# svn export -r 10 svn://svn.code.sf.net/p/cutycapt/code/ cutycapt
|
|
|
301b2d7 |
# tar -C cutycapt -cJv CutyCapt -f cutycapt-%%{date}.tar.xz
|
|
|
301b2d7 |
Source0: cutycapt-%{date}.tar.xz
|
|
|
301b2d7 |
# Upstream have been asked via email to include a copy of the license text.
|
|
|
301b2d7 |
Source1: COPYING
|
|
|
301b2d7 |
Source2: COPYING.lesser
|
|
|
301b2d7 |
|
|
|
9110cbe |
# Fix QPrinter FTBFS
|
|
|
9110cbe |
Patch0: %{name}-0.4.20130714svn-Fix-QPrinter-FTBFS.patch
|
|
|
9110cbe |
|
|
|
301b2d7 |
BuildRequires: qt5-qtwebkit-devel
|
|
|
301b2d7 |
BuildRequires: qt5-qtsvg-devel
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%description
|
|
|
301b2d7 |
CutyCapt is a small cross-platform command-line utility to capture WebKit's
|
|
|
301b2d7 |
rendering of a web page into a variety of vector and bitmap formats,
|
|
|
301b2d7 |
including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP.
|
|
|
301b2d7 |
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%prep
|
|
|
301b2d7 |
%setup -q -n CutyCapt
|
|
|
9110cbe |
%patch0 -p1
|
|
|
301b2d7 |
cp -p %{SOURCE1} .
|
|
|
301b2d7 |
cp -p %{SOURCE2} .
|
|
|
301b2d7 |
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%build
|
|
|
301b2d7 |
%{_qt5_qmake}
|
|
|
9110cbe |
make %{?_smp_mflags}
|
|
|
301b2d7 |
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%install
|
|
|
301b2d7 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
301b2d7 |
install -p -m0755 CutyCapt %{buildroot}%{_bindir}/CutyCapt
|
|
|
301b2d7 |
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%files
|
|
|
301b2d7 |
%doc COPYING COPYING.lesser
|
|
|
301b2d7 |
%{_bindir}/CutyCapt
|
|
|
301b2d7 |
|
|
|
301b2d7 |
|
|
|
301b2d7 |
%changelog
|
|
|
9110cbe |
* Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 0-0.5.20130714svn
|
|
|
9110cbe |
- fix QPrinter FBTFS
|
|
|
9110cbe |
|
|
|
2f96eae |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.20130714svn
|
|
|
2f96eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
2f96eae |
|
|
|
facd41f |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.20130714svn
|
|
|
facd41f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
facd41f |
|
|
|
301b2d7 |
* Sat Mar 29 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 0-0.2.20130714svn
|
|
|
301b2d7 |
- rename to CutyCapt
|
|
|
301b2d7 |
- include copies of both GPLv2 and LGPLv2.1
|
|
|
301b2d7 |
- amend License tag
|
|
|
301b2d7 |
|
|
|
301b2d7 |
* Thu Mar 27 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 0-0.1.20130714svn
|
|
|
301b2d7 |
- initial package
|
|
|
301b2d7 |
|