From 380a03e632c74dfcb976bc98d406a0ae22adbdf9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:58:11 +0100 Subject: [PATCH] update to 0.2.7.1 fixed changelog removed files installed in /usr [release 0.2.7.1-1mamba;Fri Apr 30 2010] --- README.md | 2 ++ phatch.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 phatch.spec diff --git a/README.md b/README.md index 5dae119..c2246ee 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # phatch +Phatch is a simple to use cross-platform GUI Photo Batch Processor which handles all popular image formats and can duplicate (sub)folder hierarchies. Phatch can batch resize, rotate, apply perspective, shadows, rounded corners, ... and more in minutes instead of hours or days if you do it manually. + diff --git a/phatch.spec b/phatch.spec new file mode 100644 index 0000000..1dc2c24 --- /dev/null +++ b/phatch.spec @@ -0,0 +1,74 @@ +%define src_ver %(echo %version | cut -d. -f 1-3) +Name: phatch +Version: 0.2.7.1 +Release: 1mamba +Summary: PHoto bATCH Processor & Renamer +Group: Graphical Desktop/Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://photobatch.stani.be +Source: http://photobatch.stani.be/download/package/phatch-%{version}.tar.gz +License: GPL +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +BuildRequires: python +## AUTOBUILDREQ-END + +%description +Phatch is a simple to use cross-platform GUI Photo Batch Processor which handles all popular image formats and can duplicate (sub)folder hierarchies. Phatch can batch resize, rotate, apply perspective, shadows, rounded corners, ... and more in minutes instead of hours or days if you do it manually. + +%prep + +%setup -q -n %{name}-%{src_ver} + +%build +python setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/phatch +%{python_sitearch}/phatch/* +%{python_sitearch}/Phatch-*-py2.6.egg-info +%{_datadir}/applications/phatch.desktop +%{_datadir}/applications/phatch-inspector.desktop +%{_datadir}/pixmaps/phatch-inspector.png +%{_datadir}/icons/hicolor/*/apps/phatch.png +%{_datadir}/icons/hicolor/*/apps/phatch-actionlist.png +%{_datadir}/icons/hicolor/*/apps/phatch-inspector*.png +%{_datadir}/icons/hicolor/scalable/apps/phatch.svg +%{_datadir}/icons/hicolor/scalable/apps/phatch-actionlist.svg +%{_datadir}/icons/hicolor/scalable/apps/phatch-inspector.svg +%{_datadir}/locale/* +%{_mandir}/man1/phatch.1.gz +%{_datadir}/mime/packages/phatch.xml +%{_datadir}/phatch/data +%{_datadir}/phatch/docs +%{_datadir}/phatch/images/* +%{_datadir}/pixmaps/phatch.png + +%changelog +* Fri Apr 30 2010 Silvan Calarco 0.2.7.1-1mamba +- update to 0.2.7.1 +- fixed changelog +- removed files installed in /usr + +* Thu Oct 29 2009 Ercole 'ercolinux' Carpanetto 0.1.6-1mamba +- update to 0.1.6 + +* Thu Jun 12 2008 Ercole 'ercolinux' Carpanetto 0.1.4-1mamba +- package created by autospec + +