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