Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 5694972cbdd71c251f5cc8bc45a9de52 > files > 3

gnustep-gui-0.14.0-2mdv2009.0.src.rpm

%define version		0.14.0
%define name		gnustep-gui
%define release		%mkrel 2

%define major	0.14

%define libname %mklibname %name %major
%define libnamedev %mklibname %name -d

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
Source: 	ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
Patch0:		gnustep-gui-0.14.0-fix-undefined.patch
License: 	GPLv2+
Group:		Development/Other
Summary: 	GNUstep GUI package
URL:		http://www.gnustep.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
Requires:	gnustep-base
BuildRequires:	gcc-objc
BuildRequires:	gnustep-base-devel >= 0.14.0
BuildRequires:	gnustep-make
BuildRequires:	cups-devel
BuildRequires:	aspell-devel
BuildRequires:	portaudio-devel
BuildRequires:	libaudiofile-devel
BuildRequires:	X11-devel	
Requires:	gnustep-base

%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 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.

%package -n     %{libname}
Summary:        Dynamic libraries from %name
Group:          System/Libraries

%description -n %{libname}
Dynamic libraries from %name.

%package -n     %{libnamedev}
Summary:        Header files and static libraries from %name
Group:          Development/Other
Requires:       %{libname} >= %{version}
Provides:       lib%{name}-devel = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release} 
Obsoletes:      %name-devel

%description -n %{libnamedev}
Libraries and includes files for developing programs based on %name.

%prep
%setup -q
%patch0 -p0

%build
%define __cputoolize /bin/true
%configure2_5x
make

%install
rm -fr %buildroot
%makeinstall_std

%if %mdkversion < 200900
%post -n %{libname} -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %{libname} -p /sbin/ldconfig
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc ANNOUNCE COPYING.LIB BUGS NEWS README
%{_bindir}/*
%{_prefix}/lib/GNUstep/*

%files -n %{libname}
%defattr(-,root,root)
%{_prefix}/lib/*.so.*

%files -n %{libnamedev}
%defattr(-,root,root)
%{_includedir}/*
%{_prefix}/lib/*.so
%{_datadir}/GNUstep/Makefiles/Additional/*


%changelog
* Thu Aug 21 2008 Funda Wang <fundawang@mandriva.org> 0.14.0-2mdv2009.0
+ Revision: 274529
- fix underlink
- New version 0.14.0

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Tue Jun 03 2008 Franck Villaume <fvill@mandriva.com> 0.13.2-1mdv2009.0
+ Revision: 214482
- new version 0.13.2

* Tue Jan 22 2008 Funda Wang <fundawang@mandriva.org> 0.12.1-1mdv2008.1
+ Revision: 156246
- New version 0.12.1

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Aug 20 2007 Oden Eriksson <oeriksson@mandriva.com> 0.12.0-4mdv2008.0
+ Revision: 67910
- rebuilt against new portaudio libs

* Mon Jul 23 2007 Austin Acton <austin@mandriva.org> 0.12.0-3mdv2008.0
+ Revision: 54501
- fix lib64 requires
- re-libify
- new directory structure
- drop hacky provides

* Sun Jun 03 2007 Austin Acton <austin@mandriva.org> 0.12.0-2mdv2008.0
+ Revision: 34948
- increment release
- explicit provides

* Sun Jun 03 2007 Austin Acton <austin@mandriva.org> 0.12.0-1mdv2008.0
+ Revision: 34793
- buildrequires gcc-objc
- simplify, simplify, simplify

  + Adam Williamson <awilliamson@mandriva.com>
    - Import gnustep-gui



* Mon Apr 04 2005 Charles A Edwards <eslrahc@mandrake.org> 0.9.5-1mdk
- 0.9.5
- quiet setup
- buildrequires

* Thu Oct  7 2004 Nicolas Planel <nplanel@n3.mandrakesoft.com> 0.9.4-2mdk
- move lib to libgnustep-gui.

* Thu Oct  7 2004 Nicolas Planel <nplanel@mandrakesoft.com> 0.9.4-1mdk
- 0.9.4.