]> git.pld-linux.org Git - packages/SILLY.git/blame - SILLY.spec
- release 5
[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
c89d927c 5Release: 5
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
631a2e19 12Patch0: %{name}-link.patch
ea049d2d 13URL: http://www.cegui.org.uk/wiki/index.php/SILLY
631a2e19
MB
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake
ea049d2d
JB
16BuildRequires: libjpeg-devel
17BuildRequires: libpng-devel >= 2:1.2.10
18BuildRequires: libstdc++-devel
631a2e19 19BuildRequires: libtool
2e85c8e7 20BuildRequires: pkgconfig
ea049d2d
JB
21Requires: libpng >= 2:1.2.10
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25SILLY means Simple Image Loading LibrarY. The aim of this library is
26to provide a simple library for loading image in the context of CEGUI.
27The library supports only the most common image format. The project
28was initialy launch in order to provide an MIT based replacement of
29DevIL with less image format supported and focused on loading image
30only.
31
32%description -l pl.UTF-8
33SILLY oznacza Simple Image Loading LibrarY (prostą bibliotekę do
34wczytywania obrazów). Celem projektu jest udostępnienie prostej
35biblioteki do wczytywania obrazów w kontekście CEGUI. Obsługuje tylko
36najpopularniejsze formaty obrazów. Projekt został zapoczątkowany w
37celu zapewnienia zamiennika MIT biblioteki DevIL z mniejszą liczbą
d2aedbd8 38obsługiwanych formatów i skupiającego się tylko na wczytywaniu obrazów.
ea049d2d
JB
39
40%package devel
41Summary: Header files for SILLY library
42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SILLY
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
45Requires: libjpeg-devel
46Requires: libpng-devel >= 2:1.2.10
47Requires: libstdc++-devel
48
49%description devel
50Header files for SILLY library.
51
52%description devel -l pl.UTF-8
53Pliki nagłówkowe biblioteki SILLY.
54
55%package static
56Summary: Static SILLY library
57Summary(pl.UTF-8): Statyczna biblioteka SILLY
58Group: Development/Libraries
59Requires: %{name}-devel = %{version}-%{release}
60
61%description static
62Static SILLY library.
63
64%description static -l pl.UTF-8
65Statyczna 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
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87%clean
88rm -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
This page took 0.067694 seconds and 4 git commands to generate.