]>
Commit | Line | Data |
---|---|---|
39a759da | 1 | Summary: Theme bundle for GNUstep |
cc1ec979 | 2 | Summary(pl.UTF-8): Pakiet z motywami dla GNUstepa |
37866777 | 3 | Name: Camaelon |
4 | Version: 0.1 | |
24759734 | 5 | Release: 3 |
7a48e395 | 6 | License: GPL |
37866777 | 7 | Group: X11/Libraries |
7a48e395 | 8 | Source0: http://www.roard.com/camaelon/download/%{name}-%{version}.tgz |
37866777 | 9 | # Source0-md5: 5b870e8e8d543ac25e58a231ab86bb57 |
10 | URL: http://www.roard.com/camaelon/ | |
11 | BuildRequires: gnustep-gui-devel >= 0.8.7 | |
c8899e59 | 12 | Requires: gnustep-gui >= 0.8.7 |
37866777 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
868d5a00 | 15 | %define _prefix /usr/%{_lib}/GNUstep |
37866777 | 16 | |
17 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
18 | ||
19 | %define libcombo gnu-gnu-gnu | |
20 | %define gsos linux-gnu | |
21 | %ifarch %{ix86} | |
22 | %define gscpu ix86 | |
23 | %else | |
24 | # also s/alpha.*/alpha/, but we use only "alpha" arch for now | |
7a48e395 | 25 | %define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/') |
37866777 | 26 | %endif |
27 | ||
28 | %description | |
c8899e59 JB |
29 | Camaelon is a theme bundle for GNUStep, loadable by settings in |
30 | UserDefaults. | |
31 | ||
cc1ec979 JR |
32 | %description -l pl.UTF-8 |
33 | Camaelon to pakiet z motywami dla GNUstepa, które można wczytywać | |
c8899e59 | 34 | poprzez ustawienia w UserDefaults. |
37866777 | 35 | |
36 | %prep | |
c8899e59 | 37 | %setup -q -n %{name} |
37866777 | 38 | |
39 | %build | |
40 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
41 | %{__make} \ | |
42 | messages=yes | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | . %{_prefix}/System/Library/Makefiles/GNUstep.sh | |
47 | ||
48 | %{__make} install \ | |
49 | GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \ | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %post -p /sbin/ldconfig | |
55 | %postun -p /sbin/ldconfig | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc README | |
c8899e59 JB |
60 | %dir %{_prefix}/System/Library/Bundles/%{name}.themeEngine |
61 | %attr(755,root,root) %{_prefix}/System/Library/Bundles/%{name}.themeEngine/%{gscpu} | |
62 | %dir %{_prefix}/System/Library/Bundles/%{name}.themeEngine/Resources | |
37866777 | 63 | %{_prefix}/System/Library/Bundles/%{name}.themeEngine/Resources/*.tiff |
64 | %{_prefix}/System/Library/Bundles/%{name}.themeEngine/Resources/*.plist |