From 50acb93bb57d71f5bb4eb3ad279a07f75245ef92 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 15 Sep 2009 04:11:19 -0400 Subject: gnustep-gui.spec: GNUstep GUI --- etoile/gnustep-gui.spec | 133 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 etoile/gnustep-gui.spec (limited to 'etoile') diff --git a/etoile/gnustep-gui.spec b/etoile/gnustep-gui.spec new file mode 100644 index 0000000..e7e2783 --- /dev/null +++ b/etoile/gnustep-gui.spec @@ -0,0 +1,133 @@ +Name: gnustep-gui +Version: 0.16.0 +Release: 1%{?dist} +Summary: GNUstep GUI backend + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://gnustep.org/ +Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gcc-objc gnustep-base-devel +BuildRequires: libtiff-devel libjpeg-devel libpng-devel giflib-devel +BuildRequires: aspell-devel cups-devel audiofile-devel portaudio-devel +Requires: gnustep-filesystem +#Requires(post): info +#Requires(preun): info + +%description +This is a library of graphical user interface classes written +completely in the Objective-C language; the classes are based upon the +OpenStep specification as released by NeXT Software, Inc. The library +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. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: gnustep-make gnustep-base-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%package doc +Summary: Documentation for %{name} +Group: Documentation +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +This package contains user documentation for %{name}. + + +%package devel-doc +Summary: Documentation for %{name}-devel +Group: Documentation +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description devel-doc +This package contains developer documentation for %{name}. + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} +# Documentation has not been gnustep-config-ified +make -C Documentation GNUSTEP_MAKEFILES=%{_libdir}/GNUstep/Makefiles + + +%install +rm -rf $RPM_BUILD_ROOT +export GNUSTEP_INSTALLATION_DOMAIN=SYSTEM +make install DESTDIR=$RPM_BUILD_ROOT +make -C Documentation install DESTDIR=$RPM_BUILD_ROOT \ + GNUSTEP_MAKEFILES=%{_libdir}/GNUstep/Makefiles + + +%clean +rm -rf $RPM_BUILD_ROOT + + +# Enable this when AppKit.info includes info dir entry +#%post +#/sbin/install-info %{_infodir}/AppKit.info %{_infodir}/dir || : + +#%preun +#if [ $1 = 0 ] ; then +# /sbin/install-info --delete %{_infodir}/AppKit.info %{_infodir}/dir || : +#fi + + +%files +%defattr(-,root,root,-) +%doc COPYING* ANNOUNCE ChangeLog INSTALL NEWS README +%{_bindir}/gclose* +%{_bindir}/gnustep_sndd +%{_bindir}/gopen +%{_bindir}/make_services +%{_bindir}/set_show_service +%{_libdir}/libgnustep-gui.so.* +%{_libdir}/GNUstep/Bundles +%{_libdir}/GNUstep/ColorPickers +%{_libdir}/GNUstep/Images +%{_libdir}/GNUstep/KeyBindings +%{_libdir}/GNUstep/Libraries/gnustep-gui +%{_libdir}/GNUstep/PostScript +%{_libdir}/GNUstep/Services +%{_datadir}/info/AppKit.info* +%{_datadir}/man/man1/*.1* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/AppKit +%{_includedir}/Cocoa +%{_includedir}/GNUstepGUI +%{_includedir}/gnustep/gui +%{_libdir}/GNUstep/Makefiles/Additional/gui.make +%{_libdir}/libgnustep-gui.so + +%files doc +%defattr(-,root,root,-) +%doc %{_datadir}/GNUstep/Documentation/User/Gui + +%files devel-doc +%defattr(-,root,root,-) +%doc %{_datadir}/GNUstep/Documentation/Developer/Gui + + + +%changelog +* Tue Sep 15 2009 Michel Salim - 0.16.0-1 +- Initial package -- cgit