]> git.pld-linux.org Git - packages/SDL_image.git/commitdiff
- completly rewrited in PLD style.
authorkloczek <kloczek@pld-linux.org>
Fri, 11 Feb 2000 09:21:09 +0000 (09:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SDL_image.spec -> 1.2

SDL_image.spec

index c2113e68fbb9c5bdf2487ed3e0060c059f5bca08..d7bcd5f559aac9bd731881f0069b3a3d4a2fee06 100644 (file)
@@ -1,66 +1,73 @@
-%define name SDL_image
-%define version 1.0.4
-%define release 1
-
-Summary: Simple DirectMedia Layer - Sample Image Loading Library
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Source0: %{name}-%{version}.tar.gz
-Copyright: LGPL
-Group: System Environment/Libraries
-BuildRoot: /var/tmp/%{name}-buildroot
-Prefix: %{_prefix}
-Packager: Hakan Tandogan <hakan@iconsult.com>
-BuildRequires: SDL-devel
-BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
-#BuildRequires: libtiff-devel
+Summary:       Simple DirectMedia Layer - Sample Image Loading Library
+Name:          SDL_image
+Version:       1.0.4
+Release:       1
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.devolution.com/~slouken/SDL/projects/SDL_image/src/%{name}-%{version}.tar.gz
+BuildRequires: SDL-devel >= 1.0.1
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%define                _prefix         /usr/X11R6
 
 %description
 This is a simple library to load images of various formats as SDL surfaces.
 This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats.
 
 %package devel
-Summary: Libraries, includes and more to develop SDL applications.
-Group: Development/Libraries
-Requires: %{name}
-Requires: SDL-devel
+Summary:       Header files and more to develop SDL_image applications
+Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name} = %{version}
+Requires:      SDL-devel
 
 %description devel
-This is a simple library to load images of various formats as SDL surfaces.
-This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats.
+Header files and more to develop SDL_image applications.
 
-%prep
-rm -rf ${RPM_BUILD_ROOT}
+%package static
+Summary:       Statis SDL_image libraries
+Group:         Development/Libraries
+Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
+Requires:      %{name}-devel = %{version}
+Requires:      SDL-devel
+
+%description static
+Statis SDL_image libraries.
 
-%setup 
+%prep
+%setup -q 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
+LDFLAGS="-s"; export LDFLAGS
+%configure
+
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT/%{prefix}
+make install DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+
+gzip -9nf README CHANGES
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-%doc README CHANGES COPYING
-%{prefix}/bin/showimage
-%{prefix}/lib/lib*.so.*
-%{prefix}/lib/lib*.so
+%defattr(644,root,root,755)
+%{_bindir}/showimage
+%attr(755,root,roo) %{_libdir}/lib*.so.*.*
 
 %files devel
-%defattr(-,root,root)
-%{prefix}/lib/*a
-%{prefix}/include/SDL/
-
-%changelog
-* Wed Jan 19 2000 Sam Lantinga 
-- converted to get package information from configure
-* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
-- initial spec file
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,roo) %{_libdir}/lib*.so
+%{_includedir}/SDL/*
+
+%files static
+%attr(644,root,roo) %{_libdir}/lib*.a
This page took 0.123849 seconds and 4 git commands to generate.