|
@@ -1,67 +1,60 @@
|
|
|
Summary: CD-ROM input and control library
|
|
|
Summary(ja): CD-ROM 入力・制御ライブラリ
|
|
|
Name: libcdio
|
|
|
-Version: 0.80
|
|
|
+Version: 0.82
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: System Environment/Libraries
|
|
|
License: GPLv2+
|
|
|
URL: http://www.gnu.org/software/libcdio/
|
|
|
|
|
|
-Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.80.tar.gz
|
|
|
-Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.80.tar.gz.sig
|
|
|
+Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.bz2
|
|
|
+Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.bz2.sig
|
|
|
Source2: libcdio-no_date_footer.hml
|
|
|
Patch1: libcdio-0.80-paranoia-fix.patch
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: pkgconfig doxygen
|
|
|
BuildRequires: ncurses-devel
|
|
|
BuildRequires: help2man
|
|
|
-Requires(post): /sbin/ldconfig
|
|
|
+BuildRequires: gcc-c++
|
|
|
Requires(post): /sbin/install-info
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
-# The patch touches Makefile.am files:
|
|
|
-BuildRequires: automake autoconf
|
|
|
-BuildRequires: libtool
|
|
|
-BuildRequires: gettext
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
%description
|
|
|
This library provides an interface for CD-ROM access. It can be used
|
|
|
by applications that need OS- and device-independent access to CD-ROM
|
|
|
devices.
|
|
|
|
|
|
%package devel
|
|
|
-Summary: Header files and static libraries for %{name}
|
|
|
-Summary(ja): Header files and static libraries for %{name}
|
|
|
+Summary: Development files for %{name}
|
|
|
+Summary(ja): %{name} の開発用ファイル
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
-%description devel
|
|
|
-This package contains header files and static libraries for %{name}.
|
|
|
+%description devel
|
|
|
+This package contains development files for %{name}.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch1 -p1 -b .paranoia_pc
|
|
|
+#patch1 -p1 -b .paranoia_pc
|
|
|
|
|
|
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in
|
|
|
iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
|
|
|
|
|
|
-
|
|
|
%build
|
|
|
-libtoolize --force || :
|
|
|
-aclocal || :
|
|
|
-autoheader || :
|
|
|
-automake || :
|
|
|
-autoconf || :
|
|
|
+#libtoolize --force || :
|
|
|
+#aclocal || :
|
|
|
+#autoheader || :
|
|
|
+#automake || :
|
|
|
+#autoconf || :
|
|
|
%configure \
|
|
|
--disable-vcd-info \
|
|
|
--disable-dependency-tracking \
|
|
|
--disable-cddb \
|
|
|
- --disable-rpath
|
|
|
+ --disable-rpath \
|
|
|
+ --disable-static
|
|
|
make %{?_smp_mflags}
|
|
|
cd doc/doxygen
|
|
|
sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile
|
|
@@ -108,7 +101,6 @@ fi
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
-
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO
|
|
@@ -124,12 +116,16 @@ fi
|
|
|
%doc doc/doxygen/html examples
|
|
|
%{_includedir}/cdio
|
|
|
%{_includedir}/cdio++
|
|
|
-%{_libdir}/*.a
|
|
|
%{_libdir}/*.so
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri May 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.82-1
|
|
|
+- new upstream release
|
|
|
+- dropt Patch1
|
|
|
+- removed static libraries from devel package
|
|
|
+
|
|
|
* Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.80-1
|
|
|
- initial build for Vine Linux
|
|
|
|