]>
Commit | Line | Data |
---|---|---|
bd3ae9d4 ER |
1 | Summary: abr2gbr |
2 | Name: abr2gbr | |
3 | Version: 1.0.2 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
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) | |
12 | ||
13 | %description | |
14 | Converts PhotoShop .ABR and Paint Shop Pro .JBR brushes to GIMP .GBR. | |
15 | ||
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. | |
19 | ||
20 | Actually abr2gbr can decode only ABR files with format version less or equal to | |
21 | 1, format version 2 is undocumented | |
22 | ||
23 | %prep | |
24 | %setup -qc | |
25 | ||
26 | %build | |
27 | %{__make} -C src | |
28 | ||
29 | %install | |
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 | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc src/TODO | |
41 | %attr(755,root,root) %{_bindir}/abr2gbr | |
42 | %attr(755,root,root) %{_bindir}/jbr2gbr |