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