From 9d39f1befa13dd3c2b4f63e10dd4cb58e31ef0e3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Feb 14 2007 00:20:48 +0000 Subject: auto-import eb-4.3-1 on branch devel from eb-4.3-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..c7c6d1a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +eb-4.3.tar.bz2 diff --git a/eb.spec b/eb.spec new file mode 100644 index 0000000..98f758d --- /dev/null +++ b/eb.spec @@ -0,0 +1,90 @@ +Name: eb +Version: 4.3 +Release: 1%{?dist} +Summary: Library for accessing Japanese CD-ROM electronic books +Summary(ja): CD-ROM 書籍にアクセスするためのライブラリ + +Group: System Environment/Libraries +License: BSD +URL: http://www.sra.co.jp/people/m-kasahr/eb/ +Source0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: zlib-devel +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +EB Library is a C library for accessing CD-ROM books. +EB Library supports to access CD-ROM books of +EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats. + +%description -l ja +EB ライブラリは CD-ROM 書籍にアクセスするための C のライブラリです。 +EB, EBG, EBXA, EBXA-C, S-EBXA および EPWING 形式の +CD-ROM 書籍に対応しています。 + + +%package devel +Summary: Development files for eb +Group: Development/Libraries +Requires: eb = %{version} + +%description devel +This package contains development files needs to use eb in programs. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +rm $RPM_BUILD_ROOT%{_libdir}/libeb.la + +rm -rf tmp +mkdir -p tmp +mv $RPM_BUILD_ROOT%{_datadir}/eb/doc tmp/html + +%find_lang %{name} +%find_lang %{name}utils +cat %{name}utils.lang >> %{name}.lang + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README +%config(noreplace) %{_sysconfdir}/eb.conf +%{_bindir}/* +%{_libdir}/libeb.so.* +%{_datadir}/eb + + +%files devel +%defattr(-,root,root,-) +%doc tmp/html +%{_includedir}/eb +%{_libdir}/libeb.so +%{_datadir}/aclocal/* + + +%changelog +* Mon Feb 12 2007 Jens Petersen - 4.3-1 +- initial packaging for Fedora diff --git a/sources b/sources index e69de29..5ca83cf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f7aee92355cae7e4c81cf26df4345b07 eb-4.3.tar.bz2