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