package created by silvan using the webbuild interface [release 0.4.1-1mamba;Thu Aug 01 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 02:47:54 +01:00
parent 9a40dc4abd
commit 963c0ca792
2 changed files with 51 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# krop
A tool to crop PDF files, with an eye towards eReaders.

49
krop.spec Normal file
View File

@ -0,0 +1,49 @@
Name: krop
Version: 0.4.1
Release: 1mamba
Summary: A tool to crop PDF files, with an eye towards eReaders
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://arminstraub.com/computer/krop
Source: http://arminstraub.com/downloads/krop/krop-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-poppler-qt4
Requires: python-pypdf
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%prep
%setup -q
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
install -D -m0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.filelist
%defattr(-,root,root)
%{_datadir}/applications/%{name}.desktop
%doc LICENSE
%changelog
* Thu Aug 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
- package created by silvan using the webbuild interface