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