1 Summary: The GNUstep backend bundle
2 Summary(pl): Pakiet backendowy GNUstep
7 Vendor: The GNUstep Project
9 Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
10 Patch0: %{name}-Xft2.patch
11 Patch1: %{name}-art-freetype213.patch
12 Patch2: %{name}-xdps-fix.patch
13 URL: http://www.gnustep.org/
14 BuildRequires: OpenGL-devel
15 BuildRequires: WindowMaker-devel
16 BuildRequires: XFree86-devel
17 BuildRequires: XFree86-DPS-devel
18 BuildRequires: Xft-devel
19 BuildRequires: freetype-devel >= 2.1.3
20 BuildRequires: gnustep-gui-devel
21 BuildRequires: libart_lgpl-devel
24 Obsoletes: gnustep-xgps
25 Conflicts: gnustep-core
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _prefix /usr/lib/GNUstep
30 %define _noautoreqdep libGL.so.1 libGLU.so.1
32 %define libcombo gnu-gnu-gnu
33 %define gsos linux-gnu
37 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
38 %define gscpu %{_target_cpu}
42 This is a backend for the GNUstep gui Library which allows you to use
43 the GNUstep gui Library on an X Windows System (other backends will
44 be added later to allow you to use the GNUstep gui Library in other
45 windowing environments).
47 This package contains common part and xlib graphics backend.
50 To jest backend dla biblioteki GNUstep GUI, pozwalaj±cy na u¿ywanie
51 biblioteki graficznego interfejsu u¿ytkownika GNUstep pod systemem X
52 Window (inne backendy, pozwalaj±ce na u¿ywanie biblioteki GNUstep GUI
53 w innych ¶rodowiskach okienkowych, zostan± dodane pó¼niej).
55 Ten pakiet zawiera czê¶æ wspóln± i backend graficzny xlib.
58 Summary: GNUstep graphics backend - art
59 Summary(pl): Graficzny backend GNUstep - art
61 Requires: %{name} = %{version}
62 Conflicts: gnustep-core
65 GNUstep graphics backend - art.
67 %description art -l pl
68 Graficzny backend GNUstep - art.
71 Summary: GNUstep graphics backend - xdps
72 Summary(pl): Graficzny backend GNUstep - xdps
74 Requires: %{name} = %{version}
75 Obsoletes: gnustep-xdps
76 Conflicts: gnustep-core
79 GNUstep graphics backend - xdps.
81 %description xdps -l pl
82 Graficzny backend GNUstep - xdps.
85 Summary: Headers for GNUstep backends
86 Summary(pl): Pliki nag³ówkowe backendów GNUstep
87 Group: X11/Development/Libraries
88 Requires: %{name} = %{version}
89 Requires: XFree86-devel
91 Requires: gnustep-gui-devel
92 Obsoletes: gnustep-xdps-devel
93 Obsoletes: gnustep-xgps-devel
94 Conflicts: gnustep-core
97 This package contains development headers for GNUstep backends. It
98 includes also files specific for all x11 graphic backends (xlib,
101 %description devel -l pl
102 Ten pakiet zawiera pliki nag³ówkowe dla backendów GNUstep, w tym pliki
103 specyficzne dla wszystkich backendów graficznych dla x11 (xlib, art,
113 . %{_prefix}/System/Makefiles/GNUstep.sh
114 for g in art xdps xlib ; do
115 if [ "$g" = "xlib" ]; then
116 INC='--with-include-flags=-I/usr/include/freetype2'
123 --enable-graphics=$g \
129 cp -f back.make back-$g.make
132 %{__make} -C Documentation
135 rm -rf $RPM_BUILD_ROOT
136 . %{_prefix}/System/Makefiles/GNUstep.sh
138 for g in art xdps xlib ; do
139 if [ "$g" = "xlib" ]; then
145 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
146 BUILD_GRAPHICS="$g" \
150 %{__make} install -C Documentation \
151 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
152 # not (yet?) supported by rpm-compress-doc
153 find $RPM_BUILD_ROOT%{_prefix}/System/Documentation -type f | xargs gzip -9nf
156 rm -rf $RPM_BUILD_ROOT
158 %post -p /sbin/ldconfig
159 %postun -p /sbin/ldconfig
162 %defattr(644,root,root,755)
164 %{_prefix}/System/Documentation/Developer/Back
166 %dir %{_prefix}/System/Library/Bundles/libgnustep-back.bundle
167 %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/Resources
168 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/%{gscpu}
170 %attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/*
173 %defattr(644,root,root,755)
174 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle
175 %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/Resources
176 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/%{gscpu}
179 %defattr(644,root,root,755)
180 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle
181 %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/Resources
182 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/%{gscpu}
185 %defattr(644,root,root,755)
186 %{_prefix}/System/Headers/gnustep/gsc
187 %{_prefix}/System/Headers/gnustep/x11
189 %{_prefix}/System/Headers/gnustep/xlib
190 %{_prefix}/System/Headers/gnustep/art
191 %{_prefix}/System/Headers/gnustep/xdps