[11032] | 1 | Name: SDL2_image |
---|
[12382] | 2 | Version: 2.0.5 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[11032] | 4 | Summary: Image loading library for SDL |
---|
| 5 | Group: System Environment/Libraries |
---|
[12382] | 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | Packager: iwaim |
---|
| 9 | |
---|
[11032] | 10 | License: LGPLv2+ |
---|
[12382] | 11 | URL: https://www.libsdl.org/projects/SDL_image/ |
---|
| 12 | Source0: https://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz |
---|
[11032] | 13 | |
---|
| 14 | BuildRequires: SDL2-devel |
---|
| 15 | BuildRequires: libjpeg-devel |
---|
| 16 | BuildRequires: libpng-devel |
---|
| 17 | BuildRequires: libtiff-devel |
---|
| 18 | BuildRequires: libwebp-devel |
---|
| 19 | BuildRequires: chrpath |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Simple DirectMedia Layer (SDL) is a cross-platform multimedia library |
---|
| 23 | designed to provide fast access to the graphics frame buffer and audio |
---|
| 24 | device. This package contains a simple library for loading images of |
---|
| 25 | various formats (BMP, PPM, PCX, GIF, JPEG, PNG) as SDL surfaces. |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Development files for %{name} |
---|
| 29 | Group: Development/Libraries |
---|
| 30 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 31 | Requires: SDL2-devel |
---|
| 32 | Requires: pkgconfig |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | The %{name}-devel package contains libraries and header files for |
---|
| 36 | developing applications that use %{name}. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %autosetup |
---|
| 40 | rm -rf external/ |
---|
| 41 | sed -i -e 's/\r//g' README.txt CHANGES.txt COPYING.txt |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | %configure --disable-dependency-tracking \ |
---|
| 45 | --disable-jpg-shared \ |
---|
| 46 | --disable-png-shared \ |
---|
| 47 | --disable-tif-shared \ |
---|
| 48 | --disable-webp-shared \ |
---|
| 49 | --disable-static |
---|
| 50 | sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool |
---|
| 51 | make %{?_smp_mflags} |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | %make_install |
---|
| 55 | mkdir -p %{buildroot}%{_bindir} |
---|
| 56 | ./libtool --mode=install /usr/bin/install showimage %{buildroot}%{_bindir}/showimage2 |
---|
| 57 | chrpath -d %{buildroot}%{_bindir}/showimage2 |
---|
| 58 | |
---|
| 59 | rm -f %{buildroot}%{_libdir}/*.la |
---|
| 60 | |
---|
| 61 | %post -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %postun -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | %files |
---|
| 66 | %license COPYING.txt |
---|
| 67 | %doc CHANGES.txt |
---|
| 68 | %{_bindir}/showimage2 |
---|
| 69 | %{_libdir}/lib*.so.* |
---|
| 70 | |
---|
| 71 | %files devel |
---|
| 72 | %doc README.txt |
---|
| 73 | %{_libdir}/lib*.so |
---|
| 74 | %{_includedir}/SDL2/* |
---|
| 75 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[12382] | 78 | * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-1 |
---|
| 79 | - new upstream release. |
---|
| 80 | |
---|
[11682] | 81 | * Wed May 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.3-1 |
---|
| 82 | - update to 2.0.3 |
---|
| 83 | |
---|
[11033] | 84 | * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.1-1 |
---|
| 85 | - initial build for Vine Linux |
---|
| 86 | |
---|
[11032] | 87 | * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Sun Jan 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.1-1 |
---|
| 91 | - Update to 2.0.1 (RHBZ #1296751) |
---|
| 92 | |
---|
| 93 | * Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-9 |
---|
| 94 | - Rebuilt for libwebp soname bump |
---|
| 95 | |
---|
| 96 | * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8 |
---|
| 97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
| 98 | |
---|
| 99 | * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-6 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Tue Apr 15 2014 Dan Horák <dan[at]danny.cz> - 2.0.0-5 |
---|
| 106 | - fix FTBFS on big endian arches |
---|
| 107 | |
---|
| 108 | * Fri Jan 03 2014 Kalev Lember <kalevlember@gmail.com> - 2.0.0-4 |
---|
| 109 | - Rebuilt for libwebp soname bump |
---|
| 110 | |
---|
| 111 | * Fri Sep 6 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-3 |
---|
| 112 | - showimage -> showimage2 (rhbz 1005324) |
---|
| 113 | |
---|
| 114 | * Fri Sep 6 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-2 |
---|
| 115 | - Move README.txt to -devel subpackage |
---|
| 116 | |
---|
| 117 | * Fri Sep 6 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.0-1 |
---|
| 118 | - Based on SDL_image |
---|