]>
Commit | Line | Data |
---|---|---|
1 | Summary: Converts PhotoShop .ABR and Paint Shop Pro .JBR brushes to GIMP .GBR | |
2 | Summary(pl.UTF-8): Narzędzie do konwersji pędzli PhotoShopa oraz Paint Shop Pro do formatu GIMP-a | |
3 | Name: abr2gbr | |
4 | Version: 1.0.2 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/Graphics | |
8 | Source0: http://the.sunnyspot.org/gimp/tools/%{name}-%{version}.tgz | |
9 | # Source0-md5: edecc74a3df1ce858ec641de9a098cdf | |
10 | URL: http://the.sunnyspot.org/gimp/tools.html | |
11 | BuildRequires: glib-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Converts PhotoShop .ABR and Paint Shop Pro .JBR brushes to GIMP .GBR. | |
16 | ||
17 | ABR files can hold many bushes within a single file and GIMP's GBR | |
18 | format was build only for single brushes. This tool simply extract | |
19 | each brush and save it into a separate GBR file. | |
20 | ||
21 | Actually abr2gbr can decode only ABR files with format version less or | |
22 | equal to 1, version 2 format is undocumented. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Narzędzie konwertujące pędzle PhotoShopa .ABR oraz Paint Shop Pro .JBr | |
26 | do formatu GIMP-a .GBR. | |
27 | ||
28 | Pliki .ABR mogą przechowwywać wiele pędzli w pojedynczym pliku, a | |
29 | format GIMP-a .GBR został stworzony tylko dla jednego pędzla. To | |
30 | narzędzie oddziela każdy pędzel i zapisuje go w oddzielnym pliku .GBR. | |
31 | ||
32 | Aktualnie abr2gdr może dekodować pliki .ABR w wersji równej lub | |
33 | mniejszej niż 1; wersja 2 jest nieudokumentowana. | |
34 | ||
35 | %prep | |
36 | %setup -qc | |
37 | ||
38 | %build | |
39 | %{__make} -C src \ | |
40 | CC="%{__cc}" \ | |
41 | CDEBUG="%{rpmcflags}" | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_bindir} | |
46 | install src/abr2gbr $RPM_BUILD_ROOT%{_bindir} | |
47 | ln -s abr2gbr $RPM_BUILD_ROOT%{_bindir}/jbr2gbr | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc src/TODO | |
55 | %attr(755,root,root) %{_bindir}/abr2gbr | |
56 | %attr(755,root,root) %{_bindir}/jbr2gbr |