]> git.pld-linux.org Git - packages/gnustep-gui.git/blame - gnustep-gui.spec
- Applications dir comment
[packages/gnustep-gui.git] / gnustep-gui.spec
CommitLineData
5717de99
JB
1#
2# Conditional build:
3%bcond_without cups # GSCUPS bundle
58075a32 4%bcond_without magick # ImageMagick support
5717de99
JB
5%bcond_without portaudio # gsnd tool
6#
829d10ca 7Summary: GNUstep GUI library package
fb1f7b25 8Summary(pl.UTF-8): Biblioteka GNUstep GUI
829d10ca 9Name: gnustep-gui
58075a32
JB
10%define ver 0.23
11Version: %{ver}.1
12Release: 1
13License: LGPL v2+ (library), GPL v3+ (applications)
4b35d086 14Group: Libraries
829d10ca 15Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
58075a32
JB
16# Source0-md5: 1771bdb42f27ee946b17bf60fef5eb2e
17Patch0: %{name}-nocompressdocs.patch
18Patch1: %{name}-doc.patch
aa92dd8e 19URL: http://www.gnustep.org/
58075a32 20%{?with_magick:BuildRequires: ImageMagick-devel}
c3847b61 21BuildRequires: aspell-devel
f6967d0c 22BuildRequires: audiofile-devel
5717de99 23%{?with_cups:BuildRequires: cups-devel}
58075a32 24BuildRequires: flite-devel
f6967d0c 25BuildRequires: gcc-objc
5717de99
JB
26BuildRequires: giflib-devel
27BuildRequires: gnustep-base-devel >= 1.13.0
58075a32
JB
28BuildRequires: gnustep-make-devel
29BuildRequires: libao-devel
30BuildRequires: libicu-devel >= 4.0
f6967d0c 31BuildRequires: libjpeg-devel
5717de99 32BuildRequires: libpng-devel
58075a32 33BuildRequires: libsndfile-devel
f6967d0c 34BuildRequires: libtiff-devel
58075a32 35BuildRequires: pkgconfig
5717de99 36%{?with_portaudio:BuildRequires: portaudio-devel >= 19}
f6967d0c 37BuildRequires: zlib-devel
5717de99 38Requires: gnustep-base >= 1.13.0
f6967d0c
JB
39Conflicts: gnustep-core
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
aa92dd8e 42%description
829d10ca 43It is a library of graphical user interface classes written completely
44in the Objective-C language; the classes are based upon the OpenStep
45specification as release by NeXT Software, Inc. The library does not
46completely conform to the specification and has been enhanced in a
47number of ways to take advantage of the GNU system. These classes
aa92dd8e 48include graphical objects such as buttons, text fields, popup lists,
49browser lists, and windows; there are also many associated classes for
50handling events, colors, fonts, pasteboards and images.
51
c261d120
JR
52%description -l pl.UTF-8
53To jest biblioteka klas graficznego interfejsu użytkownika napisana w
54Objective-C. Klasy bazują na specyfikacji OpenStep wypuszczonej przez
55NeXT Software. Biblioteka nie jest całkowicie zgodna ze specyfikacją i
56została rozszerzona, aby wykorzystać możliwości systemu GNU. Klasy
57zawierają graficzne obiekty takie jak przyciski, pola tekstowe, listy
58rozwijane, listy przewijane i okienka; jest także wiele klas do
59obsługi zdarzeń, kolorów, fontów i obrazków.
e0359688 60
aa92dd8e 61%package devel
e0359688 62Summary: GNUstep GUI headers and libs
fb1f7b25 63Summary(pl.UTF-8): Pliki nagłówkowe GNUstep GUI
829d10ca 64Group: Development/Libraries
40ce32db 65Requires: %{name} = %{version}-%{release}
f6967d0c 66Requires: audiofile-devel
5717de99 67Requires: gnustep-base-devel >= 1.13.0
f6967d0c
JB
68Requires: libjpeg-devel
69Requires: libtiff-devel
829d10ca 70Conflicts: gnustep-core
aa92dd8e 71
72%description devel
829d10ca 73Header files required to build applications against the GNUstep GUI
f6967d0c 74library.
aa92dd8e 75
c261d120
JR
76%description devel -l pl.UTF-8
77Pliki nagłówkowe potrzebne do budowania aplikacji korzystających z
e0359688
JB
78biblioteki GNUstep GUI.
79
aa92dd8e 80%prep
f6967d0c 81%setup -q
41dc2ea6 82%patch0 -p1
0f8149d4 83%patch1 -p1
aa92dd8e 84
85%build
f669a675 86export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
5717de99 87export GNUSTEP_FLATTENED=yes
120e1cac
JB
88# disable gsnd - not ready for current portaudio
89%configure \
5717de99 90 %{!?with_cups:--disable-cups} \
58075a32
JB
91 %{!?with_portaudio:--disable-gsnd} \
92 %{?with_magick:--enable-imagemagick} \
93 --enable-libgif \
94 --disable-ungif
aa92dd8e 95
d4d24605
SS
96# with __make -jN we can got non-deterministic errors
97%{__make} -j1 \
f6967d0c 98 messages=yes
aa92dd8e 99
f6967d0c
JB
100%install
101rm -rf $RPM_BUILD_ROOT
f669a675 102export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
8bc301c9 103export GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
5717de99 104export GNUSTEP_FLATTENED=yes
aa92dd8e 105
f6967d0c 106%{__make} install \
f669a675
JR
107 DESTDIR=$RPM_BUILD_ROOT
108
0bd255f5 109%{__make} install -C Documentation \
f669a675 110 DESTDIR=$RPM_BUILD_ROOT
aa92dd8e 111
f669a675 112find $RPM_BUILD_ROOT%{_datadir}/GNUstep/Documentation \
3e8a68a7 113 -type f -name .cvsignore | xargs rm -f
aa92dd8e 114
f669a675
JR
115# not (yet?) supported by rpm-compress-doc
116find $RPM_BUILD_ROOT%{_datadir}/GNUstep/Documentation \
117 -type f -a ! -name '*.html' -a ! -name '*.gz' -a ! -name '*.jpg' -a ! -name '*.css' | xargs gzip -9nf
c387a5cc 118
aa92dd8e 119%clean
120rm -rf $RPM_BUILD_ROOT
121
e0359688
JB
122%post -p /sbin/ldconfig
123%postun -p /sbin/ldconfig
124
f6967d0c 125%files
829d10ca 126%defattr(644,root,root,755)
f6967d0c 127%doc ChangeLog
f669a675
JR
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
133
58075a32
JB
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*
f6967d0c 139
58075a32
JB
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}
149
c83d61ad 150# XXX: shared with WindowMaker - move to gnustep-dirs?
58075a32 151%dir %{_libdir}/GNUstep/Applications
c83d61ad 152
58075a32
JB
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
f6967d0c 157
b10e018b 158%dir %{_libdir}/GNUstep/Bundles
58075a32
JB
159
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
164
f669a675
JR
165%dir %{_libdir}/GNUstep/Bundles/GSPrinting
166%dir %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle
58075a32 167%attr(755,root,root) %{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/GSLPR
f669a675 168%{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/Resources
58075a32 169%{_libdir}/GNUstep/Bundles/GSPrinting/GSLPR.bundle/stamp.make
5717de99
JB
170%if %{with cups}
171# R: cups-lib - separate?
f669a675 172%dir %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle
58075a32 173%attr(755,root,root) %{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/GSCUPS
f669a675 174%{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/Resources
58075a32 175%{_libdir}/GNUstep/Bundles/GSPrinting/GSCUPS.bundle/stamp.make
5717de99 176%endif
f669a675 177
58075a32
JB
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
182
f669a675
JR
183%dir %{_libdir}/GNUstep/Bundles/TextConverters
184%dir %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle
f669a675 185%attr(755,root,root) %{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/RTFConverter
58075a32
JB
186%{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/Resources
187%{_libdir}/GNUstep/Bundles/TextConverters/RTFConverter.bundle/stamp.make
188
f669a675 189%dir %{_libdir}/GNUstep/Bundles/libgmodel.bundle
f669a675 190%attr(755,root,root) %{_libdir}/GNUstep/Bundles/libgmodel.bundle/libgmodel
58075a32
JB
191%{_libdir}/GNUstep/Bundles/libgmodel.bundle/Resources
192%{_libdir}/GNUstep/Bundles/libgmodel.bundle/stamp.make
f669a675
JR
193
194%dir %{_libdir}/GNUstep/ColorPickers
58075a32 195
f669a675 196%dir %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle
f669a675 197%attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/NamedPicker
58075a32
JB
198%{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/Resources
199%{_libdir}/GNUstep/ColorPickers/NamedPicker.bundle/stamp.make
200
f669a675 201%dir %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle
58075a32 202%attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/StandardPicker
f669a675
JR
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
58075a32 208%lang(es) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/Spanish.lproj
f669a675 209%lang(sv) %{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/Resources/Swedish.lproj
58075a32
JB
210%{_libdir}/GNUstep/ColorPickers/StandardPicker.bundle/stamp.make
211
f669a675 212%dir %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle
f669a675 213%attr(755,root,root) %{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/WheelPicker
58075a32
JB
214%{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/Resources
215%{_libdir}/GNUstep/ColorPickers/WheelPicker.bundle/stamp.make
f669a675 216
b10e018b
JR
217%{_libdir}/GNUstep/Images
218%{_libdir}/GNUstep/KeyBindings
f669a675
JR
219
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
58075a32 227%lang(fr) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/French.lproj
f669a675
JR
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
58075a32 231%lang(es) %{_libdir}/GNUstep/Libraries/gnustep-gui/Versions/%{ver}/Resources/Spanish.lproj
f669a675
JR
232
233%dir %{_libdir}/GNUstep/PostScript
234%{_libdir}/GNUstep/PostScript/GSProlog.ps
235%dir %{_libdir}/GNUstep/PostScript/PPD
236%{_libdir}/GNUstep/PostScript/PPD/English.lproj
58075a32 237
b10e018b 238%dir %{_libdir}/GNUstep/Services
58075a32 239
f669a675 240%dir %{_libdir}/GNUstep/Services/GSspell.service
f669a675 241%attr(755,root,root) %{_libdir}/GNUstep/Services/GSspell.service/GSspell
58075a32
JB
242%{_libdir}/GNUstep/Services/GSspell.service/Resources
243
244%{_libdir}/GNUstep/Sounds
f6967d0c
JB
245
246%files devel
829d10ca 247%defattr(644,root,root,755)
58075a32
JB
248%attr(755,root,root) %{_libdir}/libgnustep-gui.so
249%{_includedir}/AppKit
250%{_includedir}/Cocoa
251%{_includedir}/GNUstepGUI
252%{_includedir}/gnustep/gui
253
f669a675
JR
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
58075a32 259%{_infodir}/AppKit.info*
f669a675 260
f669a675 261%{_datadir}/GNUstep/Makefiles/Additional/gui.make
This page took 0.08057 seconds and 4 git commands to generate.