]>
Commit | Line | Data |
---|---|---|
ea049d2d JB |
1 | Summary: Simple Image Loading LibrarY |
2 | Summary(pl.UTF-8): Simple Image Loading LibrarY - prosta biblioteka do wczytywania obrazów | |
3 | Name: SILLY | |
4 | Version: 0.1.0 | |
ea63a465 | 5 | Release: 10 |
ea049d2d JB |
6 | License: MIT-like |
7 | Group: Libraries | |
01b4a97b | 8 | Source0: http://downloads.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz |
ea049d2d | 9 | # Source0-md5: c3721547fced7792a36ffc9ce6ec23fd |
01b4a97b | 10 | Source1: http://downloads.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz |
ea049d2d | 11 | # Source1-md5: e52e9043b21a9d35a6da66ce9e84d3e1 |
631a2e19 | 12 | Patch0: %{name}-link.patch |
8432e7fd | 13 | Patch1: %{name}-libpng15.patch |
b2130707 | 14 | Patch2: build.patch |
ea049d2d | 15 | URL: http://www.cegui.org.uk/wiki/index.php/SILLY |
631a2e19 MB |
16 | BuildRequires: autoconf >= 2.59 |
17 | BuildRequires: automake | |
ea049d2d JB |
18 | BuildRequires: libjpeg-devel |
19 | BuildRequires: libpng-devel >= 2:1.2.10 | |
20 | BuildRequires: libstdc++-devel | |
631a2e19 | 21 | BuildRequires: libtool |
2e85c8e7 | 22 | BuildRequires: pkgconfig |
ea049d2d JB |
23 | Requires: libpng >= 2:1.2.10 |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | SILLY means Simple Image Loading LibrarY. The aim of this library is | |
28 | to provide a simple library for loading image in the context of CEGUI. | |
29 | The library supports only the most common image format. The project | |
30 | was initialy launch in order to provide an MIT based replacement of | |
31 | DevIL with less image format supported and focused on loading image | |
32 | only. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | SILLY oznacza Simple Image Loading LibrarY (prostą bibliotekę do | |
36 | wczytywania obrazów). Celem projektu jest udostępnienie prostej | |
37 | biblioteki do wczytywania obrazów w kontekście CEGUI. Obsługuje tylko | |
38 | najpopularniejsze formaty obrazów. Projekt został zapoczątkowany w | |
39 | celu zapewnienia zamiennika MIT biblioteki DevIL z mniejszą liczbą | |
d2aedbd8 | 40 | obsługiwanych formatów i skupiającego się tylko na wczytywaniu obrazów. |
ea049d2d JB |
41 | |
42 | %package devel | |
43 | Summary: Header files for SILLY library | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SILLY | |
45 | Group: Development/Libraries | |
46 | Requires: %{name} = %{version}-%{release} | |
47 | Requires: libjpeg-devel | |
48 | Requires: libpng-devel >= 2:1.2.10 | |
49 | Requires: libstdc++-devel | |
50 | ||
51 | %description devel | |
52 | Header files for SILLY library. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe biblioteki SILLY. | |
56 | ||
57 | %package static | |
58 | Summary: Static SILLY library | |
59 | Summary(pl.UTF-8): Statyczna biblioteka SILLY | |
60 | Group: Development/Libraries | |
61 | Requires: %{name}-devel = %{version}-%{release} | |
62 | ||
63 | %description static | |
64 | Static SILLY library. | |
65 | ||
66 | %description static -l pl.UTF-8 | |
67 | Statyczna biblioteka SILLY. | |
68 | ||
69 | %prep | |
70 | %setup -q -b 1 | |
631a2e19 | 71 | %patch0 -p1 |
8432e7fd | 72 | %patch1 -p1 |
b2130707 | 73 | %patch2 -p1 |
ea049d2d JB |
74 | |
75 | %build | |
631a2e19 MB |
76 | %{__libtoolize} |
77 | %{__aclocal} | |
78 | %{__autoconf} | |
79 | %{__autoheader} | |
80 | %{__automake} | |
81 | %configure \ | |
82 | --with-zlib-libdir="%{_lib}" | |
ea049d2d JB |
83 | %{__make} |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post -p /sbin/ldconfig | |
95 | %postun -p /sbin/ldconfig | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
99 | %doc AUTHORS COPYING ChangeLog | |
100 | %attr(755,root,root) %{_libdir}/libSILLY.so.*.*.* | |
631a2e19 | 101 | %attr(755,root,root) %ghost %{_libdir}/libSILLY.so.1 |
ea049d2d JB |
102 | |
103 | %files devel | |
104 | %defattr(644,root,root,755) | |
105 | %doc doc/html/* | |
106 | %attr(755,root,root) %{_libdir}/libSILLY.so | |
107 | %{_libdir}/libSILLY.la | |
108 | %{_includedir}/SILLY | |
109 | %{_pkgconfigdir}/SILLY.pc | |
110 | ||
111 | %files static | |
112 | %defattr(644,root,root,755) | |
113 | %{_libdir}/libSILLY.a |