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 libcombo gnu-gnu-gnu
31 %define gsos linux-gnu
35 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
36 %define gscpu %{_target_cpu}
40 This is a backend for the GNUstep gui Library which allows you to use
41 the GNUstep gui Library on an X Windows System (other backends will
42 be added later to allow you to use the GNUstep gui Library in other
43 windowing environments).
45 This package contains common part and xlib graphics backend.
48 To jest backend dla biblioteki GNUstep GUI, pozwalaj±cy na u¿ywanie
49 biblioteki graficznego interfejsu u¿ytkownika GNUstep pod systemem X
50 Window (inne backendy, pozwalaj±ce na u¿ywanie biblioteki GNUstep GUI
51 w innych ¶rodowiskach okienkowych, zostan± dodane pó¼niej).
53 Ten pakiet zawiera czê¶æ wspóln± i backend graficzny xlib.
56 Summary: GNUstep graphics backend - art
57 Summary(pl): Graficzny backend GNUstep - art
59 Requires: %{name} = %{version}
60 Conflicts: gnustep-core
63 GNUstep graphics backend - art.
65 %description art -l pl
66 Graficzny backend GNUstep - art.
69 Summary: GNUstep graphics backend - xdps
70 Summary(pl): Graficzny backend GNUstep - xdps
72 Requires: %{name} = %{version}
73 Obsoletes: gnustep-xdps
74 Conflicts: gnustep-core
77 GNUstep graphics backend - xdps.
79 %description xdps -l pl
80 Graficzny backend GNUstep - xdps.
83 Summary: Headers for GNUstep backends
84 Summary(pl): Pliki nag³ówkowe backendów GNUstep
85 Group: X11/Development/Libraries
86 Requires: %{name} = %{version}
87 Requires: XFree86-devel
89 Requires: gnustep-gui-devel
90 Obsoletes: gnustep-xdps-devel
91 Obsoletes: gnustep-xgps-devel
92 Conflicts: gnustep-core
95 This package contains development headers for GNUstep backends. It
96 includes also files specific for all x11 graphic backends (xlib,
99 %description devel -l pl
100 Ten pakiet zawiera pliki nag³ówkowe dla backendów GNUstep, w tym pliki
101 specyficzne dla wszystkich backendów graficznych dla x11 (xlib, art,
111 . %{_prefix}/System/Makefiles/GNUstep.sh
112 for g in art xdps xlib ; do
113 if [ "$g" = "xlib" ]; then
114 INC='--with-include-flags=-I/usr/include/freetype2'
121 --enable-graphics=$g \
127 cp -f back.make back-$g.make
130 %{__make} -C Documentation
133 rm -rf $RPM_BUILD_ROOT
134 . %{_prefix}/System/Makefiles/GNUstep.sh
136 for g in art xdps xlib ; do
137 if [ "$g" = "xlib" ]; then
143 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
144 BUILD_GRAPHICS="$g" \
148 %{__make} install -C Documentation \
149 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
150 # not (yet?) supported by rpm-compress-doc
151 find $RPM_BUILD_ROOT%{_prefix}/System/Documentation -type f | xargs gzip -9nf
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
160 %defattr(644,root,root,755)
162 %{_prefix}/System/Documentation/Developer/Back
164 %dir %{_prefix}/System/Library/Bundles/libgnustep-back.bundle
165 %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/Resources
166 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/%{gscpu}
168 %attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/*
171 %defattr(644,root,root,755)
172 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle
173 %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/Resources
174 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/%{gscpu}
177 %defattr(644,root,root,755)
178 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle
179 %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/Resources
180 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/%{gscpu}
183 %defattr(644,root,root,755)
184 %{_prefix}/System/Headers/gnustep/gsc
185 %{_prefix}/System/Headers/gnustep/x11
187 %{_prefix}/System/Headers/gnustep/xlib
188 %{_prefix}/System/Headers/gnustep/art
189 %{_prefix}/System/Headers/gnustep/xdps