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 # Source0-md5: af2ba9a683a28f75ebdeb91dd58debec
11 URL: http://www.gnustep.org/
12 BuildRequires: OpenGL-devel
13 BuildRequires: WindowMaker-devel
14 BuildRequires: XFree86-devel
15 BuildRequires: XFree86-DPS-devel
16 BuildRequires: freetype-devel >= 2.1.4
17 BuildRequires: gnustep-gui-devel >= %{version}
18 BuildRequires: libart_lgpl-devel
19 BuildRequires: xft-devel
20 Patch0: %{name}-xdps-fix.patch
22 Requires: gnustep-gui >= %{version}
23 Obsoletes: gnustep-xgps
24 Obsoletes: gnustep-back-devel
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 Window 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 Requires: freetype >= 2.1.4
63 Conflicts: gnustep-core
66 GNUstep graphics backend - art.
68 %description art -l pl
69 Graficzny backend GNUstep - art.
72 Summary: GNUstep graphics backend - xdps
73 Summary(pl): Graficzny backend GNUstep - xdps
75 Requires: %{name} = %{version}
76 Obsoletes: gnustep-xdps
77 Conflicts: gnustep-core
80 GNUstep graphics backend - xdps.
82 %description xdps -l pl
83 Graficzny backend GNUstep - xdps.
89 # prepare three trees (for art, xdps and xlib backends)
91 install -d back-art back-xdps
92 cp -a `cat files.list` back-art
93 cp -a `cat files.list` back-xdps
97 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
99 for g in art xdps xlib ; do
101 if [ "$g" = "xlib" ]; then
102 INC='--with-include-flags=-I/usr/include/freetype2'
109 --enable-graphics=$g \
118 %{__make} -C Documentation
121 rm -rf $RPM_BUILD_ROOT
122 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
124 for g in art xdps xlib ; do
125 if [ "$g" = "xlib" ]; then
130 %{__make} install -C back-$g \
131 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
132 BUILD_GRAPHICS="$g" \
136 %{__make} install -C Documentation \
137 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
139 # not (yet?) supported by rpm-compress-doc
140 find $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation -type f \
141 ! -name '*.gz' | xargs gzip -9nf
144 rm -rf $RPM_BUILD_ROOT
146 %post -p /sbin/ldconfig
147 %postun -p /sbin/ldconfig
150 %defattr(644,root,root,755)
152 %docdir %{_prefix}/System/Library/Documentation
153 %{_prefix}/System/Library/Documentation/Developer/Back
154 %{_prefix}/System/Library/Documentation/man/man1/gpbs.1*
156 %dir %{_prefix}/System/Library/Bundles/libgnustep-back.bundle
157 %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/Resources
158 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back.bundle/%{gscpu}
160 %attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/*
163 %defattr(644,root,root,755)
164 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle
165 %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/Resources
166 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-art.bundle/%{gscpu}
169 %defattr(644,root,root,755)
170 %dir %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle
171 %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/Resources
172 %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgnustep-back-xdps.bundle/%{gscpu}