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