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