]>
Commit | Line | Data |
---|---|---|
c3f1ec77 | 1 | %define cvs 20070830 |
7f60971b | 2 | Summary: GNUstep backbone apps, including Preferences |
0d9fcc60 | 3 | Summary(pl.UTF-8): Szkieletowe aplikacje GNUstepa, w tym Preferences |
7f60971b | 4 | Name: Backbone |
5 | Version: 1.2.99 | |
c3f1ec77 | 6 | Release: 0.%{cvs}.1 |
7f60971b | 7 | License: GPL |
8 | Group: X11/Applications | |
021ca08c | 9 | Source0: %{name}-%{cvs}.tar.gz |
c3f1ec77 | 10 | # Source0-md5: e27413e9e105cfa3bb2eaf953fa3661f |
021ca08c | 11 | Patch0: %{name}-buildinplace.patch |
12 | Patch1: %{name}-installprefix.patch | |
e64a539e | 13 | Patch2: %{name}-pass-arguments.patch |
c3f1ec77 | 14 | Patch3: %{name}-install.patch |
7f60971b | 15 | URL: http://www.nongnu.org/backbone/ |
16 | BuildRequires: gnustep-gui-devel | |
54af05f8 | 17 | Obsoletes: Preferences |
021ca08c | 18 | Obsoletes: Terminal |
19 | Obsoletes: TextEdit | |
7f60971b | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
7f60971b | 22 | %description |
54af05f8 JB |
23 | GNUstep Backbone applications, including Preferences. |
24 | ||
c6ecace2 JR |
25 | %description -l pl.UTF-8 |
26 | Szkieletowe aplikacje GNUstepa, w tym Preferences (edytor ustawień). | |
7f60971b | 27 | |
28 | %package devel | |
54af05f8 | 29 | Summary: Header files for Backbone frameworks |
0d9fcc60 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe dla bibliotek Backbone |
7f60971b | 31 | Group: Development/Libraries |
7d04e492 | 32 | Requires: %{name} = %{version}-%{release} |
7f60971b | 33 | Requires: gnustep-gui-devel |
54af05f8 | 34 | Obsoletes: Preferences-devel |
7f60971b | 35 | |
36 | %description devel | |
37 | Header files for Backbone frameworks. | |
38 | ||
c6ecace2 JR |
39 | %description devel -l pl.UTF-8 |
40 | Pliki nagłówkowe dla bibliotek Backbone. | |
54af05f8 | 41 | |
7f60971b | 42 | %prep |
43 | %setup -q -n System | |
44 | %patch0 -p1 | |
021ca08c | 45 | %patch1 -p1 |
46 | %patch2 -p1 | |
c3f1ec77 | 47 | %patch3 -p1 |
7f60971b | 48 | |
49 | %build | |
c3f1ec77 JR |
50 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles |
51 | export GNUSTEP_FLATTENED=yes | |
777a562d | 52 | %{__make} -j1 \ |
7f60971b | 53 | OPTFLAG="%{rpmcflags}" \ |
54 | messages=yes | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
c3f1ec77 JR |
58 | export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles |
59 | export GNUSTEP_FLATTENED=yes | |
7f60971b | 60 | |
777a562d | 61 | %{__make} -j1 install \ |
c3f1ec77 JR |
62 | GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | for f in Calculator CurrencyConverter GSTest Ink NSBrowserTest NSImageTest NSPanelTest NSScreenTest md5Digest ; do | |
66 | ln -sf %{_libdir}/GNUstep/Applications/$f.app/$f $RPM_BUILD_ROOT/%{_bindir}/$f | |
67 | done | |
7f60971b | 68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
c3f1ec77 JR |
77 | %dir %{_libdir}/GNUstep/Applications/*.app |
78 | %dir %{_libdir}/GNUstep/Applications/*.app/Resources | |
79 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.desktop | |
80 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.plist | |
81 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.tiff | |
82 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.txt | |
83 | %{_libdir}/GNUstep/Applications/*.app/Resources/*.svcs | |
84 | %{_libdir}/GNUstep/Applications/*.app/Resources/English.lproj | |
85 | %lang(fr) %{_libdir}/GNUstep/Applications/*.app/Resources/French.lproj | |
86 | %lang(de) %{_libdir}/GNUstep/Applications/*.app/Resources/German.lproj | |
87 | %lang(hu) %{_libdir}/GNUstep/Applications/*.app/Resources/Hungarian.lproj | |
88 | %lang(nb) %{_libdir}/GNUstep/Applications/*.app/Resources/Norwegian.lproj | |
89 | %lang(ru) %{_libdir}/GNUstep/Applications/*.app/Resources/Russian.lproj | |
90 | %lang(es) %{_libdir}/GNUstep/Applications/*.app/Resources/Spanish.lproj | |
91 | %lang(se) %{_libdir}/GNUstep/Applications/*.app/Resources/Swedish.lproj | |
92 | %lang(tr) %{_libdir}/GNUstep/Applications/*.app/Resources/Turkish.lproj | |
93 | %dir %{_libdir}/GNUstep/Applications/*.app/%{gscpu} | |
94 | %dir %{_libdir}/GNUstep/Applications/*.app/%{gscpu}/%{gsos} | |
95 | %dir %{_libdir}/GNUstep/Applications/*.app/%{gscpu}/%{gsos}/%{libcombo} | |
96 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/Preferences.app/Preferences | |
97 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/Preferences.app/%{gscpu}/%{gsos}/%{libcombo}/Preferences | |
98 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/Terminal.app/Terminal | |
99 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/Terminal.app/%{gscpu}/%{gsos}/%{libcombo}/Terminal | |
100 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/TextEdit.app/TextEdit | |
101 | %attr(755,root,root) %{_libdir}/GNUstep/Applications/TextEdit.app/%{gscpu}/%{gsos}/%{libcombo}/TextEdit | |
102 | %{_libdir}/GNUstep/Applications/*.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp | |
103 | %attr(755,root,root) %{_libdir}/GNUstep/Tools/%{gscpu}/%{gsos}/%{libcombo}/* | |
104 | ||
105 | %dir %{_libdir}/GNUstep/Library/Frameworks/*.framework | |
106 | %{_libdir}/GNUstep/Library/Frameworks/*.framework/Resources | |
107 | %dir %{_libdir}/GNUstep/Library/Frameworks/*.framework/Versions | |
108 | %dir %{_libdir}/GNUstep/Library/Frameworks/*.framework/Versions/* | |
109 | %{_libdir}/GNUstep/Library/Frameworks/*.framework/Versions/1.1.0/Resources | |
110 | %attr(755,root,root) %{_libdir}/GNUstep/Library/Frameworks/*.framework/Versions/1.1.0/%{gscpu} | |
111 | ||
112 | %attr(755,root,root) %{_libdir}/GNUstep/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.* | |
113 | ||
114 | %dir %{_libdir}/GNUstep/Library/Preferences | |
115 | %dir %{_libdir}/GNUstep/Library/Preferences/*.prefs | |
116 | %{_libdir}/GNUstep/Library/Preferences/*.prefs/Resources | |
117 | %attr(755,root,root) %{_libdir}/GNUstep/Library/Preferences/*.prefs/%{gscpu} | |
7f60971b | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
c3f1ec77 JR |
121 | %{_libdir}/GNUstep/Library/Frameworks/*.framework/Headers |
122 | %{_libdir}/GNUstep/Library/Frameworks/*.framework/Versions/1.1.0/Headers | |
123 | %{_libdir}/GNUstep/Library/Headers/%{libcombo}/* | |
7f60971b | 124 | |
c3f1ec77 | 125 | %attr(755,root,root) %{_libdir}/GNUstep/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so |