Author: qboosh Date: Sun Aug 27 11:02:55 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: jbig2enc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/jbig2enc.spec diff -u /dev/null SPECS/jbig2enc.spec:1.1 --- /dev/null Sun Aug 27 13:02:55 2006 +++ SPECS/jbig2enc.spec Sun Aug 27 13:02:50 2006 @@ -0,0 +1,98 @@ +# $Revision$, $Date$ +Summary: JBIG2 encoder +Summary(pl): Koder JBIG2 +Name: jbig2enc +Version: 0.23 +Release: 1 +License: Apache v2.0 +Group: Applications/Graphics +Source0: http://www.imperialviolet.org/binary/%{name}-%{version}.tar.bz2 +# Source0-md5: 30a9422b0abbcbc98000aa75135f8c39 +Patch0: %{name}-lept.patch +Patch1: %{name}-shared.patch +URL: http://www.imperialviolet.org/jbig2.html +BuildRequires: leptonlib-devel >= 1.38 +BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:1.5 +Requires: leptonlib >= 1.38 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +JBIG2 encoder. + +%description -l pl +Koder JBIG2. + +%package devel +Summary: Development files for jbig2enc library +Summary(pl): Pliki nagłówkowe dla biblioteki jbig2enc +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: leptonlib-devel >= 1.38 +Requires: libstdc++-devel + +%description devel +Development files for jbig2enc library. + +%description devel -l pl +Pliki nagłówkowe dla biblioteki jbig2enc. + +%package static +Summary: Static version of jbig2enc library +Summary(pl): Statyczna wersja biblioteki jbig2enc +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static version of jbig2enc library. + +%description static -l pl +Statyczna wersja biblioteki jbig2enc. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CXX="%{__cxx}" \ + EXTRA="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc PATENTS README jbig2enc.html +%attr(755,root,root) %{_bindir}/jbig2 +%attr(755,root,root) %{_libdir}/libjbig2enc.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libjbig2enc.so +%{_libdir}/libjbig2enc.la +%{_includedir}/jbig2enc.h + +%files static +%defattr(644,root,root,755) +%{_libdir}/libjbig2enc.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/08/27 11:02:50 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
