6 Group: Applications/Graphics
7 Source0: http://the.sunnyspot.org/gimp/tools/%{name}-%{version}.tgz
8 # Source0-md5: edecc74a3df1ce858ec641de9a098cdf
9 URL: http://the.sunnyspot.org/gimp/tools.html
10 BuildRequires: glib-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Converts PhotoShop .ABR and Paint Shop Pro .JBR brushes to GIMP .GBR.
16 ABR files can hold many bushes within a single file and GIMP's GBR format was
17 build only for single brushes. This tool simply extract each brush and save it
18 into a separate GBR file.
20 Actually abr2gbr can decode only ABR files with format version less or equal to
21 1, format version 2 is undocumented
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_bindir}
32 install src/abr2gbr $RPM_BUILD_ROOT%{_bindir}
33 ln -s abr2gbr $RPM_BUILD_ROOT%{_bindir}/jbr2gbr
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/abr2gbr
42 %attr(755,root,root) %{_bindir}/jbr2gbr