Hello community, here is the log from the commit of package eb for openSUSE:Factory checked in at 2015-12-29 12:59:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eb (Old) and /work/SRC/openSUSE:Factory/.eb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "eb" Changes: -------- --- /work/SRC/openSUSE:Factory/eb/eb.changes 2015-01-08 23:02:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.eb.new/eb.changes 2015-12-29 12:59:33.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Dec 26 03:57:51 UTC 2015 - i@marguerite.su + +- eb-devel should requires eb, which requires libeb16. + or applications like ebview won't build because lack + of /etc/eb.conf + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eb.spec ++++++ --- /var/tmp/diff_new_pack.MIe6yg/_old 2015-12-29 12:59:34.000000000 +0100 +++ /var/tmp/diff_new_pack.MIe6yg/_new 2015-12-29 12:59:34.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package eb # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define libname lib%{name}16 +%define soname 16 Name: eb -BuildRequires: zlib-devel -BuildRequires: libtool -Recommends: %{name}-lang -License: GPL-2.0+ -Group: System/Libraries Version: 4.4.3 Release: 0 +Summary: C Library for Accessing CD-ROM Books +License: GPL-2.0+ +Group: System/Libraries Url: https://github.com/aehlke/eb -Source0: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2 -Patch1: gettext.patch +Source: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2 +Patch: gettext.patch +BuildRequires: libtool +BuildRequires: zlib-devel +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: C Library for Accessing CD-ROM Books #Summary(ja): EB ライブラリは CD-ROM 書籍にアクセスするための C のライブラリです。 # %description -l ja # EB ライブラリは CD-ROM 書籍にアクセスするための C のライブラリです。 @@ -51,11 +51,11 @@ are based on the ISO 9660 format, you can mount the CDs in the same way as other ISO 9660 CDs. -%package -n %{libname} +%package -n libeb%{soname} Summary: C Library for Accessing CD-ROM Books - shared library Group: System/libraries -%description -n %{libname} +%description -n libeb%{soname} EB Library is a C library for accessing CD-ROM books. It can be built on UNIX-based systems. EB Library supports accessing CD-ROM books in EB, EBG, EBXA, EBXA-C, S-EBXA, and EPWING formats. CD-ROM books in @@ -66,9 +66,9 @@ %package devel Summary: EB Header Files and Libraries Group: Development/Libraries/C and C++ -Requires: %{libname} = %{version} -Obsoletes: ebdev < %version-%release -Provides: ebdev = %version-%release +Requires: %{name} = %{version} +Obsoletes: ebdev < %{version}-%{release} +Provides: ebdev = %{version}-%{release} # %description -n ebdev -l ja # EB ライブラリのヘッダファイル及びライブラリです。 @@ -78,47 +78,54 @@ %lang_package %prep -%setup0 -%patch1 -p1 +%setup -q +%patch -p1 %build autoreconf -fi %configure \ - --with-zlib-libraries=/%_lib \ - --with-zlib-includes=%_includedir \ + --with-zlib-libraries=/%{_lib} \ + --with-zlib-includes=%{_includedir} \ --disable-static \ --with-pic make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install +make DESTDIR=%{buildroot} install %{?_smp_mflags} %find_lang %{name} %find_lang ebutils %{name}.lang rm -rf %{buildroot}%{_libdir}/libeb.la -%post -n %{libname} -/sbin/ldconfig +%post -n libeb%{soname} -p /sbin/ldconfig -%postun -n %{libname} -/sbin/ldconfig +%postun -n libeb%{soname} -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING NEWS README* ChangeLog* -%{_bindir}/* +%{_bindir}/ebappendix +%{_bindir}/ebfont +%{_bindir}/ebinfo +%{_bindir}/ebrefile +%{_bindir}/ebstopcode +%{_bindir}/ebunzip +%{_bindir}/ebzip +%{_bindir}/ebzipinfo %{_datadir}/eb/ -%config /etc/eb.conf +%config %{_sysconfdir}/eb.conf %files devel %defattr(-, root, root) -%{_includedir}/* +%{_includedir}/eb %{_libdir}/libeb.so -%{_datadir}/aclocal/*.m4 +%{_datadir}/aclocal/eb4.m4 -%files -n %{libname} +%files -n libeb%{soname} %defattr(-, root, root) -%{_libdir}/libeb.so.* +%{_libdir}/libeb.so.%{soname} +%{_libdir}/libeb.so.%{soname}.0.0 %files lang -f %{name}.lang +%defattr(-,root,root) %changelog