]> git.pld-linux.org Git - packages/epeg.git/blame - epeg.spec
- converted to UTF-8
[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
728f9aa6 6Summary(pl.UTF-8): Biblioteka do skalowania JPEG-ów
6ac0d5bf 7Name: epeg
ea4caf27 8Version: 0.9.0.007
9433fe8e 9Release: 2
6ac0d5bf 10License: BSD
b706a223 11Group: Libraries
a6a7f7d3 12Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
ea4caf27 13# Source0-md5: 383db51e46d13d986966459e4918d236
df230c26 14URL: http://enlightenment.org/Libraries/Epeg/
6ac0d5bf 15BuildRequires: autoconf
16BuildRequires: automake
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
728f9aa6 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
728f9aa6 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
728f9aa6 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
5590224c 87%post libs -p /sbin/ldconfig
88%postun libs -p /sbin/ldconfig
6ac0d5bf 89
90%files
91%defattr(644,root,root,755)
b706a223 92%doc AUTHORS COPYING COPYING-PLAIN INSTALL README
6ac0d5bf 93%attr(755,root,root) %{_bindir}/epeg
5590224c 94
95%files libs
96%defattr(644,root,root,755)
31df5cf3 97%attr(755,root,root) %{_libdir}/libepeg.so.*.*.*
6ac0d5bf 98
99%files devel
100%defattr(644,root,root,755)
6ac0d5bf 101%attr(755,root,root) %{_bindir}/epeg-config
31df5cf3
JB
102%attr(755,root,root) %{_libdir}/libepeg.so
103%{_libdir}/libepeg.la
6ac0d5bf 104%{_includedir}/Epeg*
70c4a716 105%{_pkgconfigdir}/epeg.pc
6ac0d5bf 106
b764493e 107%if %{with static_libs}
6ac0d5bf 108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libepeg.a
b764493e 111%endif
This page took 0.098714 seconds and 4 git commands to generate.