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