From bd3ae9d438338902db164cf82f6f3df26dd1034c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 3 Feb 2006 13:52:19 +0000 Subject: [PATCH] - new Changed files: abr2gbr.spec -> 1.1 --- abr2gbr.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 abr2gbr.spec diff --git a/abr2gbr.spec b/abr2gbr.spec new file mode 100644 index 0000000..4f856aa --- /dev/null +++ b/abr2gbr.spec @@ -0,0 +1,42 @@ +Summary: abr2gbr +Name: abr2gbr +Version: 1.0.2 +Release: 1 +License: GPL v2 +Group: Applications/Graphics +Source0: http://the.sunnyspot.org/gimp/tools/%{name}-%{version}.tgz +# Source0-md5: edecc74a3df1ce858ec641de9a098cdf +URL: http://the.sunnyspot.org/gimp/tools.html +BuildRequires: glib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Converts PhotoShop .ABR and Paint Shop Pro .JBR brushes to GIMP .GBR. + +ABR files can hold many bushes within a single file and GIMP's GBR format was +build only for single brushes. This tool simply extract each brush and save it +into a separate GBR file. + +Actually abr2gbr can decode only ABR files with format version less or equal to +1, format version 2 is undocumented + +%prep +%setup -qc + +%build +%{__make} -C src + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install src/abr2gbr $RPM_BUILD_ROOT%{_bindir} +ln -s abr2gbr $RPM_BUILD_ROOT%{_bindir}/jbr2gbr + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc src/TODO +%attr(755,root,root) %{_bindir}/abr2gbr +%attr(755,root,root) %{_bindir}/jbr2gbr -- 2.43.0