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