]> git.pld-linux.org Git - packages/epeg.git/blame - epeg.spec
- up to 0.9.1.042
[packages/epeg.git] / epeg.spec
CommitLineData
b764493e
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
6ac0d5bf 5Summary: JPEG Scaling Library
d1291455 6Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
6ac0d5bf 7Name: epeg
247a269e 8Version: 0.9.1.042
1a70b182 9Release: 1
6ac0d5bf 10License: BSD
b706a223 11Group: Libraries
247a269e
BZ
12Source0: http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2
13# Source0-md5: b6eada50c40f46810530fe85a67f558d
df230c26 14URL: http://enlightenment.org/Libraries/Epeg/
6ac0d5bf 15BuildRequires: autoconf
1a70b182 16BuildRequires: automake >= 1.4
6ac0d5bf 17BuildRequires: libjpeg-devel
18BuildRequires: libtool
5590224c 19Requires: %{name}-libs = %{version}-%{release}
6ac0d5bf 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Epeg is a library which provides facilities for scaling JPEG images
24very quickly.
25
728f9aa6
JR
26%description -l pl.UTF-8
27Epeg to biblioteka ułatwiająca bardzo szybkie skalowanie obrazów JPEG.
31df5cf3 28
5590224c 29%package libs
30Summary: Epeg library
d1291455 31Summary(pl.UTF-8): Biblioteka epeg
5590224c 32Group: Libraries
33
34%description libs
35Epeg library.
36
728f9aa6 37%description libs -l pl.UTF-8
5590224c 38Biblioteka epeg.
39
6ac0d5bf 40%package devel
31df5cf3 41Summary: Epeg header files
d1291455 42Summary(pl.UTF-8): Pliki nagłówkowe Epeg
6ac0d5bf 43Group: Development/Libraries
5590224c 44Requires: %{name}-libs = %{version}-%{release}
6ac0d5bf 45Requires: libjpeg-devel
46
47%description devel
31df5cf3
JB
48Header files for Epeg.
49
728f9aa6
JR
50%description devel -l pl.UTF-8
51Pliki nagłówkowe Epeg.
6ac0d5bf 52
53%package static
31df5cf3 54Summary: Static Epeg library
d1291455 55Summary(pl.UTF-8): Statyczna biblioteka Epeg
6ac0d5bf 56Group: Development/Libraries
31df5cf3 57Requires: %{name}-devel = %{version}-%{release}
6ac0d5bf 58
59%description static
31df5cf3
JB
60Static Epeg library.
61
728f9aa6 62%description static -l pl.UTF-8
31df5cf3 63Statyczna biblioteka Epeg.
6ac0d5bf 64
65%prep
a6a7f7d3 66%setup -q
6ac0d5bf 67
68%build
69%{__libtoolize}
a6a7f7d3 70%{__aclocal}
6ac0d5bf 71%{__autoconf}
72%{__autoheader}
73%{__automake}
b764493e
KK
74%configure \
75 %{!?with_static_libs:--disable-static}
6ac0d5bf 76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
31df5cf3 80
6ac0d5bf 81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
1a70b182
JB
87%post libs -p /sbin/ldconfig
88%postun libs -p /sbin/ldconfig
6ac0d5bf 89
90%files
91%defattr(644,root,root,755)
1a70b182 92%doc AUTHORS COPYING COPYING-PLAIN README
6ac0d5bf 93%attr(755,root,root) %{_bindir}/epeg
5590224c 94
95%files libs
96%defattr(644,root,root,755)
247a269e 97%attr(755,root,root) %{_libdir}/libepeg.so.*
6ac0d5bf 98
99%files devel
100%defattr(644,root,root,755)
31df5cf3
JB
101%attr(755,root,root) %{_libdir}/libepeg.so
102%{_libdir}/libepeg.la
1a70b182 103%{_includedir}/Epeg.h
70c4a716 104%{_pkgconfigdir}/epeg.pc
6ac0d5bf 105
b764493e 106%if %{with static_libs}
6ac0d5bf 107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libepeg.a
b764493e 110%endif
This page took 0.10011 seconds and 4 git commands to generate.