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