Author: baggins Date: Wed Jul 13 12:38:54 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial revision
---- Files affected: packages/eb: eb.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/eb/eb.spec diff -u /dev/null packages/eb/eb.spec:1.1 --- /dev/null Wed Jul 13 14:38:54 2011 +++ packages/eb/eb.spec Wed Jul 13 14:38:49 2011 @@ -0,0 +1,142 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without apidocs # do not build and package API docs +%bcond_without static_libs # don't build static libraries +# +Summary: Library for accessing CD-ROM books +#Summary(pl.UTF-8): - +Name: eb +Version: 4.4.3 +Release: 1 +License: BSD +Group: Libraries +Source0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2 +# Source0-md5: 17dd1fade7ba0b82ce6e60f19fcbc823 +URL: http://www.sra.co.jp/people/m-kasahr/eb/ +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +EB Library supports to access CD-ROM books of EB, EBG, EBXA, EBXA-C, +S-EBXA and EPWING formats. CD-ROM books of those formats are popular +in Japan. Since CD-ROM books themseves are stands on the ISO 9660 +format, you can mount the discs by the same way as other ISO 9660 +discs. + +#%description -l pl.UTF-8 + +%package utils +Summary: Utilities provided by EB library +Summary(pl.UTF-8): Narzędzia dostarczane przez bibliotekę EB +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description utils +Utilities provided by EB library. + +%description utils -l pl.UTF-8 +Narzędzia dostarczane przez bibliotekę EB. + +%package devel +Summary: Header files for EB library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki EB +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for EB library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki EB. + +%package static +Summary: Static EB library +Summary(pl.UTF-8): Statyczna biblioteka EB +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static EB library. + +%description static -l pl.UTF-8 +Statyczna biblioteka EB. + +%package apidocs +Summary: EB API documentation +Summary(pl.UTF-8): Dokumentacja API biblioteki EB +Group: Documentation + +%description apidocs +API and internal documentation for EB library. + +%description apidocs -l pl.UTF-8 +Dokumentacja API biblioteki EB. + +%prep +%setup -q + +%build +%configure \ + --enable-samples \ + --enable-pthread \ + --enable-ebnet \ + --enable-ipv6 \ + --with-pkgdocdir=%{_docdir}/%{name}-apidocs-%{version} \ + %{!?with_static_libs:--disable-static} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} +%find_lang ebutils + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog* NEWS README +%attr(755,root,root) %{_libdir}/libeb.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libeb.so.16 + +%files utils -f ebutils.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* + +%files devel +%defattr(644,root,root,755) +%{_sysconfdir}/eb.conf +%{_libdir}/libeb.so +%{_libdir}/libeb.la +%{_includedir}/eb +%{_aclocaldir}/eb4.m4 + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libeb.a +%endif + +%if %{with apidocs} +%files apidocs +%defattr(644,root,root,755) +%doc %{_docdir}/%{name}-apidocs-%{version}/* +%endif + +%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 2011/07/13 12:38:49 baggins +- initial revision + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
