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