]> git.pld-linux.org Git - packages/SILLY.git/blame_incremental - SILLY.spec
- rebuild without libjpeg.la
[packages/SILLY.git] / SILLY.spec
... / ...
CommitLineData
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
5Release: 10
6License: MIT-like
7Group: Libraries
8Source0: http://downloads.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz
9# Source0-md5: c3721547fced7792a36ffc9ce6ec23fd
10Source1: http://downloads.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
11# Source1-md5: e52e9043b21a9d35a6da66ce9e84d3e1
12Patch0: %{name}-link.patch
13Patch1: %{name}-libpng15.patch
14Patch2: build.patch
15URL: http://www.cegui.org.uk/wiki/index.php/SILLY
16BuildRequires: autoconf >= 2.59
17BuildRequires: automake
18BuildRequires: libjpeg-devel
19BuildRequires: libpng-devel >= 2:1.2.10
20BuildRequires: libstdc++-devel
21BuildRequires: libtool
22BuildRequires: pkgconfig
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ą
40obsługiwanych formatów i skupiającego się tylko na wczytywaniu obrazów.
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
71%patch0 -p1
72%patch1 -p1
73%patch2 -p1
74
75%build
76%{__libtoolize}
77%{__aclocal}
78%{__autoconf}
79%{__autoheader}
80%{__automake}
81%configure \
82 --with-zlib-libdir="%{_lib}"
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.*.*.*
101%attr(755,root,root) %ghost %{_libdir}/libSILLY.so.1
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.291957 seconds and 4 git commands to generate.