]> git.pld-linux.org Git - packages/SystemPreferences.git/blame - SystemPreferences.spec
- added
[packages/SystemPreferences.git] / SystemPreferences.spec
CommitLineData
7b611d57 1Summary: GNUstep System Preferences
2Name: SystemPreferences
3Version: 1.0.2
4Release: 1
5License: GPL
6Group: X11/Applications
7Source0: ftp://ftp.gnustep.org/pub/gnustep/usr-apps/%{name}-%{version}.tar.gz
8# Source0-md5: 15dad0ce0d07de79fecdcec26485bdc1
9Patch0: %{name}-initWithArgs.patch
10URL: http://www.gnustep.it/enrico/system-preferences/
11BuildRequires: gnustep-gui-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15GNUstep System Preferences.
16
17%package devel
18Summary: Header files for PreferencesPane framework
19Group: Development/Libraries
20Requires: %{name} = %{version}-%{release}
21Requires: gnustep-gui-devel
22
23%description devel
24Header files for PreferencesPane framework.
25
26%prep
27%setup -q
28%patch0 -p1
29
30%build
31export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
32export GNUSTEP_FLATTENED=yes
33
34for I in PreferencePanes SystemPreferences Modules; do
35 cd $I
36 %{__make} -j1 \
37 OPTFLAG="%{rpmcflags}" \
38 messages=yes
39 cd ..
40done
41
42%install
43rm -rf $RPM_BUILD_ROOT
44export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
45export GNUSTEP_FLATTENED=yes
46
47for 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 ..
54done
55
56%clean
57rm -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}/*
This page took 0.076446 seconds and 4 git commands to generate.