Summary: GNUstep GUI library package
Summary(pl): Biblioteka GNUstep GUI
Name: gnustep-gui
-Version: 0.8.8
-Release: 1
+Version: 0.9.4
+Release: 4
License: LGPL/GPL
Group: Libraries
Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
-# Source0-md5: cf555e09fb1074a74e850ccfc5c6652b
+# Source0-md5: 399b3a2341899d12710f4d1ed36f3002
Patch0: %{name}-themes.patch
+Patch1: %{name}-nocompressdocs.patch
+Patch2: %{name}-segv.patch
+Patch3: %{name}-doc.patch
URL: http://www.gnustep.org/
BuildRequires: audiofile-devel
BuildRequires: gcc-objc
-BuildRequires: gnustep-base-devel >= 1.7.0
+BuildRequires: gnustep-base-devel >= 1.10.0
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
-Requires: gnustep-base >= 1.7.0
+Requires: gnustep-base >= 1.10.0
Conflicts: gnustep-core
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/lib/GNUstep
+%define _prefix /usr/%{_lib}/GNUstep
%define libcombo gnu-gnu-gnu
%define gsos linux-gnu
%define gscpu ix86
%else
# also s/alpha.*/alpha/, but we use only "alpha" arch for now
-%define gscpu %{_target_cpu}
+%define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
%endif
%description
Summary: GNUstep GUI headers and libs
Summary(pl): Pliki nag³ówkowe GNUstep GUI
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
Requires: audiofile-devel
-Requires: gnustep-base-devel >= 1.7.0
+Requires: gnustep-base-devel >= 1.9.0
Requires: libjpeg-devel
Requires: libtiff-devel
Conflicts: gnustep-core
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
. %{_prefix}/System/Library/Makefiles/GNUstep.sh
%{__make} install \
GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
INSTALL_ROOT_DIR=$RPM_BUILD_ROOT
+%{__make} install -C Documentation \
+ GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
+ INSTALL_ROOT_DIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation \
+ -type f -name .cvsignore | xargs rm -f
# not (yet?) supported by rpm-compress-doc
find $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation \
-type f -a ! -name '*.html' | xargs gzip -9nf
+mv $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation/info/manual.info.gz $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation/info/gnustep-gui.info.gz
+
%clean
rm -rf $RPM_BUILD_ROOT
%docdir %{_prefix}/System/Library/Documentation
%dir %{_prefix}/System/Library/Documentation/Developer/Gui
%{_prefix}/System/Library/Documentation/Developer/Gui/ReleaseNotes
+%{_prefix}/System/Library/Documentation/User/Gui
+%{_prefix}/System/Library/Documentation/man/man1/*
%dir %{_prefix}/System/Library/Bundles/TextConverters
%dir %{_prefix}/System/Library/Bundles/TextConverters/RTFConverter.bundle
%{_prefix}/System/Library/Bundles/libgmodel.bundle/Resources
%attr(755,root,root) %{_prefix}/System/Library/Bundles/libgmodel.bundle/%{gscpu}
+%dir %{_prefix}/System/Library/Bundles/GSPrinting/GSLPR.bundle
+%{_prefix}/System/Library/Bundles/GSPrinting/GSLPR.bundle/Resources
+%{_prefix}/System/Library/Bundles/GSPrinting/GSLPR.bundle/%{gscpu}
+
+
%dir %{_prefix}/System/Library/ColorPickers
%dir %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle
%dir %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources
%lang(fr) %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources/French.lproj
%lang(sv) %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources/Swedish.lproj
%attr(755,root,root) %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/%{gscpu}
+%dir %{_prefix}/System/Library/ColorPickers/NamedPicker.bundle
+%{_prefix}/System/Library/ColorPickers/NamedPicker.bundle/Resources
+%attr(755,root,root) %{_prefix}/System/Library/ColorPickers/NamedPicker.bundle/%{gscpu}
%dir %{_prefix}/System/Library/ColorPickers/WheelPicker.bundle
%{_prefix}/System/Library/ColorPickers/WheelPicker.bundle/Resources
%attr(755,root,root) %{_prefix}/System/Library/ColorPickers/WheelPicker.bundle/%{gscpu}
-%dir %{_prefix}/System/Applications/md5Digest.app
-%dir %{_prefix}/System/Applications/md5Digest.app/Resources
-%{_prefix}/System/Applications/md5Digest.app/Resources/*.desktop
-%{_prefix}/System/Applications/md5Digest.app/Resources/*.plist
-%attr(755,root,root) %{_prefix}/System/Applications/md5Digest.app/%{gscpu}
-%attr(755,root,root) %{_prefix}/System/Applications/md5Digest.app/md5Digest
-
%{_prefix}/System/Library/Images/*
%{_prefix}/System/Library/KeyBindings/*.dict
%dir %{_prefix}/System/Library/PostScript
%{_prefix}/System/Library/PostScript/GSProlog.ps
-%{_prefix}/System/Library/PostScript/Printers
%dir %{_prefix}/System/Library/PostScript/PPD
%{_prefix}/System/Library/PostScript/PPD/English.lproj
-%lang(fr) %{_prefix}/System/Library/PostScript/PPD/French.lproj
-%lang(de) %{_prefix}/System/Library/PostScript/PPD/German.lproj
-%lang(it) %{_prefix}/System/Library/PostScript/PPD/Italian.lproj
-%lang(es) %{_prefix}/System/Library/PostScript/PPD/Spanish.lproj
-%lang(sv) %{_prefix}/System/Library/PostScript/PPD/Swedish.lproj
-
%dir %{_prefix}/System/Library/Services/GSspell.service
%{_prefix}/System/Library/Services/GSspell.service/Resources
%attr(755,root,root) %{_prefix}/System/Library/Services/GSspell.service/%{gscpu}
-%dir %{_prefix}/System/Library/Services/example.service
-%{_prefix}/System/Library/Services/example.service/Resources
-%attr(755,root,root) %{_prefix}/System/Library/Services/example.service/%{gscpu}
%attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/*
%files devel
%defattr(644,root,root,755)
%docdir %{_prefix}/System/Library/Documentation
-%{_prefix}/System/Library/Documentation/Developer/Gui/Manual
+%{_prefix}/System/Library/Documentation/Developer/Gui/Additions
+%{_prefix}/System/Library/Documentation/Developer/Gui/General
+%{_prefix}/System/Library/Documentation/Developer/Gui/ProgrammingManual
%{_prefix}/System/Library/Documentation/Developer/Gui/Reference
-%{_prefix}/System/Library/Documentation/info/*.info*
+%{_prefix}/System/Library/Documentation/info/gnustep-gui.info*
-%{_prefix}/System/Library/Headers/AppKit
-%{_prefix}/System/Library/Headers/gnustep/gui
+%{_prefix}/System/Library/Headers/%{libcombo}/AppKit
+%{_prefix}/System/Library/Headers/%{libcombo}/GNUstepGUI
+%{_prefix}/System/Library/Headers/%{libcombo}/gnustep/gui
%{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
%{_prefix}/System/Library/Makefiles/Additional/gui.make