3 %bcond_without cups # GSCUPS bundle
4 %bcond_without magick # ImageMagick support
5 %bcond_without portaudio # gsnd tool
7 Summary: GNUstep GUI library package
8 Summary(pl.UTF-8): Biblioteka GNUstep GUI
13 License: LGPL v2+ (library), GPL v3+ (applications)
15 Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
16 # Source0-md5: 1771bdb42f27ee946b17bf60fef5eb2e
17 Patch0: %{name}-nocompressdocs.patch
18 Patch1: %{name}-doc.patch
19 URL: http://www.gnustep.org/
20 %{?with_magick:BuildRequires: ImageMagick-devel}
21 BuildRequires: aspell-devel
22 BuildRequires: audiofile-devel
23 %{?with_cups:BuildRequires: cups-devel}
24 BuildRequires: flite-devel
25 BuildRequires: gcc-objc
26 BuildRequires: giflib-devel
27 BuildRequires: gnustep-base-devel >= 1.13.0
28 BuildRequires: gnustep-make-devel
29 BuildRequires: libao-devel
30 BuildRequires: libicu-devel >= 4.0
31 BuildRequires: libjpeg-devel
32 BuildRequires: libpng-devel
33 BuildRequires: libsndfile-devel
34 BuildRequires: libtiff-devel
35 BuildRequires: pkgconfig
36 %{?with_portaudio:BuildRequires: portaudio-devel >= 19}
37 BuildRequires: zlib-devel
38 Requires: gnustep-base >= 1.13.0
39 Conflicts: gnustep-core
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 It is a library of graphical user interface classes written completely
44 in the Objective-C language; the classes are based upon the OpenStep
45 specification as release by NeXT Software, Inc. The library does not
46 completely conform to the specification and has been enhanced in a
47 number of ways to take advantage of the GNU system. These classes
48 include graphical objects such as buttons, text fields, popup lists,
49 browser lists, and windows; there are also many associated classes for
50 handling events, colors, fonts, pasteboards and images.
52 %description -l pl.UTF-8
53 To jest biblioteka klas graficznego interfejsu użytkownika napisana w
54 Objective-C. Klasy bazują na specyfikacji OpenStep wypuszczonej przez
55 NeXT Software. Biblioteka nie jest całkowicie zgodna ze specyfikacją i
56 została rozszerzona, aby wykorzystać możliwości systemu GNU. Klasy
57 zawierają graficzne obiekty takie jak przyciski, pola tekstowe, listy
58 rozwijane, listy przewijane i okienka; jest także wiele klas do
59 obsługi zdarzeń, kolorów, fontów i obrazków.
62 Summary: GNUstep GUI headers and libs
63 Summary(pl.UTF-8): Pliki nagłówkowe GNUstep GUI
64 Group: Development/Libraries
65 Requires: %{name} = %{version}-%{release}
66 Requires: audiofile-devel
67 Requires: gnustep-base-devel >= 1.13.0
68 Requires: libjpeg-devel
69 Requires: libtiff-devel
70 Conflicts: gnustep-core
73 Header files required to build applications against the GNUstep GUI
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe potrzebne do budowania aplikacji korzystających z
78 biblioteki GNUstep GUI.
86 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
87 export GNUSTEP_FLATTENED=yes
88 # disable gsnd - not ready for current portaudio
90 %{!?with_cups:--disable-cups} \
91 %{!?with_portaudio:--disable-gsnd} \
92 %{?with_magick:--enable-imagemagick} \
96 # with __make -jN we can got non-deterministic errors
101 rm -rf $RPM_BUILD_ROOT
102 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
103 export GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
104 export GNUSTEP_FLATTENED=yes
107 DESTDIR=$RPM_BUILD_ROOT
109 %{__make} install -C Documentation \
110 DESTDIR=$RPM_BUILD_ROOT
112 find $RPM_BUILD_ROOT%{_datadir}/GNUstep/Documentation \
113 -type f -name .cvsignore | xargs rm -f
115 # not (yet?) supported by rpm-compress-doc
116 find $RPM_BUILD_ROOT%{_datadir}/GNUstep/Documentation \
117 -type f -a ! -name '*.html' -a ! -name '*.gz' -a ! -name '*.jpg' -a ! -name '*.css' | xargs gzip -9nf
120 rm -rf $RPM_BUILD_ROOT
122 %post -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
126 %defattr(644,root,root,755)
128 %docdir %{_datadir}/GNUstep/Documentation
129 %dir %{_datadir}/GNUstep/Documentation/Developer
130 %dir %{_datadir}/GNUstep/Documentation/Developer/Gui
131 %{_datadir}/GNUstep/Documentation/Developer/Gui/ReleaseNotes
132 %{_datadir}/GNUstep/Documentation/User
134 %{_mandir}/man1/gclose.1*
135 %{_mandir}/man1/gcloseall.1*
136 %{_mandir}/man1/gopen.1*
137 %{_mandir}/man1/make_services.1*
138 %{_mandir}/man1/set_show_service.1*
140 %attr(755,root,root) %{_bindir}/GSSpeechServer
141 %attr(755,root,root) %{_bindir}/gclose
142 %attr(755,root,root) %{_bindir}/gcloseall
143 %attr(755,root,root) %{_bindir}/gopen
144 %attr(755,root,root) %{_bindir}/make_services
145 %attr(755,root,root) %{_bindir}/say
146 %attr(755,root,root) %{_bindir}/set_show_service
147 %attr(755,root,root) %{_libdir}/libgnustep-gui.so.*.*.*
148 %attr(755,root,root) %ghost %{_libdir}/libgnustep-gui.so.%{ver}
150 # XXX: shared with WindowMaker - move to gnustep-dirs?
151 %dir %{_libdir}/GNUstep/Applications
153 %dir %{_libdir}/GNUstep/Applications/GSSpeechServer.app
154 %attr(755,root,root) %{_libdir}/GNUstep/Applications/GSSpeechServer.app/GSSpeechServer
155 %{_libdir}/GNUstep/Applications/GSSpeechServer.app/Resources
156 %{_libdir}/GNUstep/Applications/GSSpeechServer.app/stamp.make
158 %dir %{_libdir}/GNUstep/Bundles
160 %dir %{_libdir}/GNUstep/Bundles/AudioOutput.nssound
161 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/AudioOutput.nssound/AudioOutput
162 %{_libdir}/GNUstep/Bundles/AudioOutput.nssound/Resources
163 %{_libdir}/GNUstep/Bundles/AudioOutput.nssound/stamp.make
165 %dir %{_libdir}/GNUstep/Bundles/GSPrinting
166 %dir %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle
167 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/GSLPR
168 %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/Resources
169 %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/stamp.make
171 # R: cups-lib - separate?
172 %dir %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle
173 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/GSCUPS
174 %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/Resources
175 %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/stamp.make
178 %dir %{_libdir}/GNUstep/Bundles/Sndfile.nssound
179 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/Sndfile.nssound/Sndfile
180 %{_libdir}/GNUstep/Bundles/Sndfile.nssound/Resources
181 %{_libdir}/GNUstep/Bundles/Sndfile.nssound/stamp.make
183 %dir %{_libdir}/GNUstep/Bundles/TextConverters
184 %dir %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle
185 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/RTFConverter
186 %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/Resources
187 %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/stamp.make
189 %dir %{_libdir}/GNUstep/Bundles/libgmodel.bundle
190 %attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgmodel.bundle/libgmodel
191 %{_libdir}/GNUstep/Bundles/libgmodel.bundle/Resources
192 %{_libdir}/GNUstep/Bundles/libgmodel.bundle/stamp.make
194 %dir %{_libdir}/GNUstep/ColorPickers
196 %dir %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle
197 %attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/NamedPicker
198 %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/Resources
199 %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/stamp.make
201 %dir %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle
202 %attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/StandardPicker
203 %dir %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources
204 %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/*.tiff
205 %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/*.plist
206 %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/English.lproj
207 %lang(fr) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/French.lproj
208 %lang(es) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/Spanish.lproj
209 %lang(sv) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/Swedish.lproj
210 %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/stamp.make
212 %dir %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle
213 %attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/WheelPicker
214 %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/Resources
215 %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/stamp.make
217 %{_libdir}/GNUstep/Images
218 %{_libdir}/GNUstep/KeyBindings
220 %dir %{_libdir}/GNUstep/Libraries/gnustep-gui
221 %dir %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions
222 %dir %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}
223 %dir %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources
224 %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/*.plist
225 %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/English.lproj
226 %lang(eo) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/Esperanto.lproj
227 %lang(fr) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/French.lproj
228 %lang(de) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/German.lproj
229 %lang(it) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/Italian.lproj
230 %lang(jbo) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/Lojban.lproj
231 %lang(es) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/Spanish.lproj
233 %dir %{_libdir}/GNUstep/PostScript
234 %{_libdir}/GNUstep/PostScript/GSProlog.ps
235 %dir %{_libdir}/GNUstep/PostScript/PPD
236 %{_libdir}/GNUstep/PostScript/PPD/English.lproj
238 %dir %{_libdir}/GNUstep/Services
240 %dir %{_libdir}/GNUstep/Services/GSspell.service
241 %attr(755,root,root) %{_libdir}/GNUstep/Services/GSspell.service/GSspell
242 %{_libdir}/GNUstep/Services/GSspell.service/Resources
244 %{_libdir}/GNUstep/Sounds
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libgnustep-gui.so
249 %{_includedir}/AppKit
251 %{_includedir}/GNUstepGUI
252 %{_includedir}/gnustep/gui
254 %docdir %{_datadir}/GNUstep/Documentation
255 %{_datadir}/GNUstep/Documentation/Developer/Gui/Additions
256 %{_datadir}/GNUstep/Documentation/Developer/Gui/General
257 %{_datadir}/GNUstep/Documentation/Developer/Gui/ProgrammingManual
258 %{_datadir}/GNUstep/Documentation/Developer/Gui/Reference
259 %{_infodir}/AppKit.info*
261 %{_datadir}/GNUstep/Makefiles/Additional/gui.make