]> git.pld-linux.org Git - packages/epsilon.git/blob - epsilon.spec
8ac36ca3fae1503b919a81a3aff1d9580d488a4b
[packages/epsilon.git] / epsilon.spec
1 Summary:        Enlightened Thumbnail Generator
2 Summary(pl):    O¶wiecony generator miniaturek obrazów
3 Name:           epsilon
4 Version:        0.3.0
5 %define _snap   20050701
6 Release:        0.%{_snap}.0.1
7 License:        BSD
8 Group:          X11/Libraries
9 #Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
10 Source0:        http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.gz
11 # Source0-md5:  b86833bb0c6190b93b99234d9d3a5311
12 URL:            http://enlightenment.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  epeg-devel
16 BuildRequires:  freetype-devel
17 BuildRequires:  imlib2-devel
18 BuildRequires:  libltdl-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libtool
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Epsilon is a small, display independent, and quick thumbnailing
25 library. The lib itself conforms to the standard put forth by
26 freedesktop.org . You can find out more information about it at
27 http://triq.net/~jens/thumbnail-spec/index.html .
28
29 Epeg offers very noticeable speed increases to this standard, but it
30 is only available if the input image is a JPEG file. If the file is
31 anything other than jpg, the traditional freedesktop.org thumbnailing
32 will occur. To show the speed increase epeg offers, Epsilon can be
33 built with and without epeg.
34
35 %description -l pl
36 Epsilon to ma³a, niezale¿na od ekranu i szybka biblioteka do
37 generowania miniaturek obrazów. Sama biblioteka jest zgodna ze
38 standardem opracowanym przez freedesktop.org . Wiêcej informacji
39 mo¿na znale¼æ pod adresem
40 http://triq.net/~jens/thumbnail-spec/index.html .
41
42 Epeg oferuje bardzo zauwa¿alne przyspieszenie w stosunku do tego
43 standardu, ale jest ono dostêpne tylko je¶li obrazek jest plikiem
44 JPEG. Je¶li plik jest innego typu, zostanie u¿yte tradycyjne
45 zachowanie freedesktop.org . Aby pokazaæ przyspieszenie oferowane
46 przez epeg, Epsilon mo¿e byæ zbudowany z lub bez epeg.
47
48 %package devel
49 Summary:        Epsilon header file
50 Summary(pl):    Plik nag³ówkowy Epsilon
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53
54 %description devel
55 Epsilon thumbnailer development header.
56
57 %description devel -l pl
58 Plik nag³ówkowy biblioteki Epsilon generuj±cej miniaturki obrazów.
59
60 %package static
61 Summary:        Static Epsilon library
62 Summary(pl):    Statyczna biblioteka Epsilon
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static Epsilon library.
68
69 %description static -l pl
70 Statyczna biblioteka Epsilon.
71
72 %prep
73 %setup -q -n %{name}
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS COPYING README
99 %attr(755,root,root) %{_bindir}/epsilon
100 %attr(755,root,root) %{_libdir}/libepsilon.so.*.*.*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_bindir}/epsilon-config
105 %attr(755,root,root) %{_libdir}/libepsilon.so
106 %{_libdir}/libepsilon.la
107 %{_includedir}/Epsilon.h
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libepsilon.a
This page took 0.055208 seconds and 3 git commands to generate.