source: projects/specs/trunk/S/SDL2_image/SDL2_image-vl.spec @ 12382

Revision 12382, 3.6 KB checked in by tomop, 5 months ago (diff)

updated 8 packages

SDL2-2.0.12-1

SDL2_image-2.0.5-1

SDL2_mixer-2.0.4-1

SDL2_ttf-2.0.15-1

babl-0.1.74-1

bubblewrap-0.4.1-1

gegl04-0.4.22-1

libcap-2.33-1

Line 
1Name:           SDL2_image
2Version:        2.0.5
3Release:        1%{?_dist_release}
4Summary:        Image loading library for SDL
5Group:          System Environment/Libraries
6Vendor:         Project Vine
7Distribution:   Vine Linux
8Packager:       iwaim
9
10License:        LGPLv2+
11URL:            https://www.libsdl.org/projects/SDL_image/
12Source0:        https://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
13
14BuildRequires:  SDL2-devel
15BuildRequires:  libjpeg-devel
16BuildRequires:  libpng-devel
17BuildRequires:  libtiff-devel
18BuildRequires:  libwebp-devel
19BuildRequires:  chrpath
20
21%description
22Simple DirectMedia Layer (SDL) is a cross-platform multimedia library
23designed to provide fast access to the graphics frame buffer and audio
24device.  This package contains a simple library for loading images of
25various formats (BMP, PPM, PCX, GIF, JPEG, PNG) as SDL surfaces.
26
27%package devel
28Summary:        Development files for %{name}
29Group:          Development/Libraries
30Requires:       %{name}%{?_isa} = %{version}-%{release}
31Requires:       SDL2-devel
32Requires:       pkgconfig
33
34%description devel
35The %{name}-devel package contains libraries and header files for
36developing applications that use %{name}.
37
38%prep
39%autosetup
40rm -rf external/
41sed -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
50sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
51make %{?_smp_mflags}
52
53%install
54%make_install
55mkdir -p %{buildroot}%{_bindir}
56./libtool --mode=install /usr/bin/install showimage %{buildroot}%{_bindir}/showimage2
57chrpath -d %{buildroot}%{_bindir}/showimage2
58
59rm -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
78* Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-1
79- new upstream release.
80
81* Wed May 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.3-1
82- update to 2.0.3
83
84* Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.1-1
85- initial build for Vine Linux
86
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
Note: See TracBrowser for help on using the repository browser.