]>
Commit | Line | Data |
---|---|---|
7b611d57 | 1 | Summary: GNUstep System Preferences |
2 | Name: SystemPreferences | |
3 | Version: 1.0.2 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Source0: ftp://ftp.gnustep.org/pub/gnustep/usr-apps/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 15dad0ce0d07de79fecdcec26485bdc1 | |
9 | Patch0: %{name}-initWithArgs.patch | |
10 | URL: http://www.gnustep.it/enrico/system-preferences/ | |
11 | BuildRequires: gnustep-gui-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | GNUstep System Preferences. | |
16 | ||
17 | %package devel | |
18 | Summary: Header files for PreferencesPane framework | |
19 | Group: Development/Libraries | |
20 | Requires: %{name} = %{version}-%{release} | |
21 | Requires: gnustep-gui-devel | |
22 | ||
23 | %description devel | |
24 | Header files for PreferencesPane framework. | |
25 | ||
26 | %prep | |
27 | %setup -q | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles | |
32 | export GNUSTEP_FLATTENED=yes | |
33 | ||
34 | for I in PreferencePanes SystemPreferences Modules; do | |
35 | cd $I | |
36 | %{__make} -j1 \ | |
37 | OPTFLAG="%{rpmcflags}" \ | |
38 | messages=yes | |
39 | cd .. | |
40 | done | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles | |
45 | export GNUSTEP_FLATTENED=yes | |
46 | ||
47 | for I in PreferencePanes SystemPreferences Modules; do | |
48 | cd $I | |
49 | %{__make} -j1 install \ | |
50 | GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | messages=yes | |
53 | cd .. | |
54 | done | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/SystemPreferences | |
65 | %{_libdir}/GNUstep/Bundles/ColorSchemes.prefPane/ColorSchemes | |
66 | %{_libdir}/GNUstep/Bundles/Defaults.prefPane/Defaults | |
67 | %{_libdir}/GNUstep/Bundles/FileSystem.prefPane/FileSystem | |
68 | %{_libdir}/GNUstep/Bundles/FontModule.prefPane/FontModule | |
69 | %{_libdir}/GNUstep/Bundles/ModifierKeys.prefPane/ModifierKeys | |
70 | %{_libdir}/GNUstep/Bundles/TimeZone.prefPane/TimeZone | |
71 | %{_libdir}/GNUstep/Bundles/Volumes.prefPane/Volumes | |
72 | %{_libdir}/GNUstep/Colors/*.colorScheme | |
73 | %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/PreferencePanes | |
74 | %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/Versions/[0-9]*/PreferencePanes | |
75 | %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/Versions/[0-9]*/libPreferencePanes.so | |
76 | %attr(755,root,root) %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/Versions/[0-9]*/libPreferencePanes.so.1 | |
77 | %attr(755,root,root) %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/Versions/[0-9]*/libPreferencePanes.so.1.0.0 | |
78 | %{_libdir}/GNUstep/Frameworks/PreferencePanes.framework/libPreferencePanes.so | |
79 | %{_libdir}/libPreferencePanes.so | |
80 | %attr(755,root,root) %{_libdir}/libPreferencePanes.so.1 | |
81 | %attr(755,root,root) %{_libdir}/libPreferencePanes.so.1.0.0 | |
82 | ||
83 | %dir %{_libdir}/GNUstep/Applications/*.app | |
84 | %dir %{_libdir}/GNUstep/Applications/*.app/Resources | |
85 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.desktop | |
86 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.plist | |
87 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.tiff | |
88 | %{_libdir}/GNUstep/Applications/*.app/Resources/English.lproj | |
89 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/SystemPreferences.app/SystemPreferences | |
90 | #%{_libdir}/GNUstep/Applications/*.app/Resources/*.openapp | |
91 | ||
92 | %dir %{_libdir}/GNUstep/Frameworks/*.framework | |
93 | %{_libdir}/GNUstep/Frameworks/*.framework/Resources | |
94 | %dir %{_libdir}/GNUstep/Frameworks/*.framework/Versions | |
95 | %dir %{_libdir}/GNUstep/Frameworks/*.framework/Versions/[0-9]* | |
96 | %{_libdir}/GNUstep/Frameworks/*.framework/Versions/[0-9]*/Resources | |
97 | %{_libdir}/GNUstep/Frameworks/*.framework/Versions/Current | |
98 | ||
99 | %dir %{_libdir}/GNUstep/Bundles/*.prefPane | |
100 | %{_libdir}/GNUstep/Bundles/*.prefPane/Resources | |
101 | ||
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/GNUstep/Frameworks/*.framework/Headers | |
105 | %{_libdir}/GNUstep/Frameworks/*.framework/Versions/[0-9]*/Headers | |
106 | %{_includedir}/* |