Summary: GNUstep GUI library package Summary(pl): Biblioteka GNUstep GUI Name: gnustep-gui Version: 0.8.8 Release: 2 License: LGPL/GPL Group: Libraries Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz # Source0-md5: cf555e09fb1074a74e850ccfc5c6652b Patch0: %{name}-themes.patch URL: http://www.gnustep.org/ BuildRequires: audiofile-devel BuildRequires: gcc-objc BuildRequires: gnustep-base-devel >= 1.7.3 BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: zlib-devel Requires: gnustep-base >= 1.7.3 Conflicts: gnustep-core BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/lib/GNUstep %define libcombo gnu-gnu-gnu %define gsos linux-gnu %ifarch %{ix86} %define gscpu ix86 %else # also s/alpha.*/alpha/, but we use only "alpha" arch for now %define gscpu %{_target_cpu} %endif %description It is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon the OpenStep specification as release by NeXT Software, Inc. The library does not completely conform to the specification and has been enhanced in a number of ways to take advantage of the GNU system. These classes include graphical objects such as buttons, text fields, popup lists, browser lists, and windows; there are also many associated classes for handling events, colors, fonts, pasteboards and images. %description -l pl To jest biblioteka klas graficznego interfejsu użytkownika napisana w Objective-C. Klasy bazują na specyfikacji OpenStep wypuszczonej przez NeXT Software. Biblioteka nie jest całkowicie zgodna ze specyfikacją i została rozszerzona, aby wykorzystać możliwości systemu GNU. Klasy zawierają graficzne obiekty takie jak przyciski, pola tekstowe, listy rozwijane, listy przewijane i okienka; jest także wiele klas do obsługi zdarzeń, kolorów, fontów i obrazków. %package devel Summary: GNUstep GUI headers and libs Summary(pl): Pliki nagłówkowe GNUstep GUI Group: Development/Libraries Requires: %{name} = %{version} Requires: audiofile-devel Requires: gnustep-base-devel >= 1.7.3 Requires: libjpeg-devel Requires: libtiff-devel Conflicts: gnustep-core %description devel Header files required to build applications against the GNUstep GUI library. %description devel -l pl Pliki nagłówkowe potrzebne do budowania aplikacji korzystających z biblioteki GNUstep GUI. %prep %setup -q %patch0 -p1 %build . %{_prefix}/System/Library/Makefiles/GNUstep.sh %configure %{__make} \ messages=yes %install rm -rf $RPM_BUILD_ROOT . %{_prefix}/System/Library/Makefiles/GNUstep.sh %{__make} install \ GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \ INSTALL_ROOT_DIR=$RPM_BUILD_ROOT # not (yet?) supported by rpm-compress-doc find $RPM_BUILD_ROOT%{_prefix}/System/Library/Documentation \ -type f -a ! -name '*.html' | xargs gzip -9nf %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc ChangeLog %docdir %{_prefix}/System/Library/Documentation %dir %{_prefix}/System/Library/Documentation/Developer/Gui %{_prefix}/System/Library/Documentation/Developer/Gui/ReleaseNotes %dir %{_prefix}/System/Library/Bundles/TextConverters %dir %{_prefix}/System/Library/Bundles/TextConverters/RTFConverter.bundle %{_prefix}/System/Library/Bundles/TextConverters/RTFConverter.bundle/Resources %attr(755,root,root) %{_prefix}/System/Library/Bundles/TextConverters/RTFConverter.bundle/%{gscpu} %dir %{_prefix}/System/Library/Bundles/libgmodel.bundle %{_prefix}/System/Library/Bundles/libgmodel.bundle/Resources %attr(755,root,root) %{_prefix}/System/Library/Bundles/libgmodel.bundle/%{gscpu} %dir %{_prefix}/System/Library/ColorPickers %dir %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle %dir %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources/*.tiff %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources/*.plist %{_prefix}/System/Library/ColorPickers/StandardPicker.bundle/Resources/English.lproj %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/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/Libraries/Resources/gnustep-gui %{_prefix}/System/Library/Libraries/Resources/gnustep-gui/English.lproj %lang(it) %{_prefix}/System/Library/Libraries/Resources/gnustep-gui/Italian.lproj %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.* %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/Reference %{_prefix}/System/Library/Documentation/info/*.info* %{_prefix}/System/Library/Headers/%{libcombo}/AppKit %{_prefix}/System/Library/Headers/%{libcombo}/gnustep/gui %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so %{_prefix}/System/Library/Makefiles/Additional/gui.make