- fix build; don't use libraries from /usr/lib on x86_64
[packages/SILLY.git] / SILLY.spec
CommitLineData
ea049d2d
JB
1Summary: Simple Image Loading LibrarY
2Summary(pl.UTF-8): Simple Image Loading LibrarY - prosta biblioteka do wczytywania obrazów
3Name: SILLY
4Version: 0.1.0
f6aa3422 5Release: 2
ea049d2d
JB
6License: MIT-like
7Group: Libraries
8Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz
9# Source0-md5: c3721547fced7792a36ffc9ce6ec23fd
10Source1: http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
11# Source1-md5: e52e9043b21a9d35a6da66ce9e84d3e1
12URL: http://www.cegui.org.uk/wiki/index.php/SILLY
13BuildRequires: libjpeg-devel
14BuildRequires: libpng-devel >= 2:1.2.10
15BuildRequires: libstdc++-devel
16Requires: libpng >= 2:1.2.10
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20SILLY means Simple Image Loading LibrarY. The aim of this library is
21to provide a simple library for loading image in the context of CEGUI.
22The library supports only the most common image format. The project
23was initialy launch in order to provide an MIT based replacement of
24DevIL with less image format supported and focused on loading image
25only.
26
27%description -l pl.UTF-8
28SILLY oznacza Simple Image Loading LibrarY (prostą bibliotekę do
29wczytywania obrazów). Celem projektu jest udostępnienie prostej
30biblioteki do wczytywania obrazów w kontekście CEGUI. Obsługuje tylko
31najpopularniejsze formaty obrazów. Projekt został zapoczątkowany w
32celu zapewnienia zamiennika MIT biblioteki DevIL z mniejszą liczbą
d2aedbd8 33obsługiwanych formatów i skupiającego się tylko na wczytywaniu obrazów.
ea049d2d
JB
34
35%package devel
36Summary: Header files for SILLY library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SILLY
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: libjpeg-devel
41Requires: libpng-devel >= 2:1.2.10
42Requires: libstdc++-devel
43
44%description devel
45Header files for SILLY library.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki SILLY.
49
50%package static
51Summary: Static SILLY library
52Summary(pl.UTF-8): Statyczna biblioteka SILLY
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static SILLY library.
58
59%description static -l pl.UTF-8
60Statyczna biblioteka SILLY.
61
62%prep
63%setup -q -b 1
64
65%build
66%configure
67%{__make}
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
75%clean
76rm -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
This page took 0.045531 seconds and 4 git commands to generate.