- added patch enabling libcdio_paranoia.pc

This commit is contained in:
Tomas Bzatek 2008-06-05 08:11:21 +00:00
parent ada0bcf849
commit 91d3000d58
2 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,33 @@
diff -up libcdio-0.80/Makefile.am.bak libcdio-0.80/Makefile.am
--- libcdio-0.80/Makefile.am.bak 2008-03-15 17:21:28.000000000 +0100
+++ libcdio-0.80/Makefile.am 2008-06-04 17:23:13.942500222 +0200
@@ -20,6 +20,10 @@
## which configure then turns into a Makefile ...
## which make can then use to produce stuff. Isn't configuration simple?
+if BUILD_CD_PARANOIA
+paranoiadist = libcdio_paranoia.pc.in
+endif
+
EXTRA_DIST = \
MSVC/README MSVC/cd-info.vcproj \
MSVC/config.h \
@@ -34,7 +38,8 @@ EXTRA_DIST = \
libiso9660.pc.in \
libiso9660++.pc.in \
libudf.pc.in \
- package/libcdio.spec.in
+ package/libcdio.spec.in \
+ $(paranoiadist)
SUBDIRS = doc include lib src test example
@@ -48,7 +53,7 @@ pkgconfig_DATA = libcdio.pc \
libcdio++.pc \
libiso9660.pc \
libiso9660++.pc \
- libudf.pc
+ libudf.pc \
$(paranoiapcs)

View File

@ -1,6 +1,6 @@
Name: libcdio Name: libcdio
Version: 0.80 Version: 0.80
Release: 1%{?dist} Release: 2%{?dist}
Summary: CD-ROM input and control library Summary: CD-ROM input and control library
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -15,6 +15,11 @@ Requires(post): /sbin/ldconfig
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
# The patch touches Makefile.am files:
BuildRequires: automake autoconf
Patch1: libcdio-0.80-paranoia-fix.patch
%description %description
This library provides an interface for CD-ROM access. It can be used 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 by applications that need OS- and device-independent access to CD-ROM
@ -32,11 +37,14 @@ This package contains header files and static libraries for %{name}.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .paranoia_pc
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in 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 iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
%build %build
automake || :
%configure \ %configure \
--disable-vcd-info \ --disable-vcd-info \
--disable-dependency-tracking \ --disable-dependency-tracking \
@ -110,6 +118,9 @@ fi
%changelog %changelog
* Wed Jun 4 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.80-2
- added patch enabling libcdio_paranoia.pc
* Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1 * Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1
- updated to 0.80 - updated to 0.80
- removed upstreamed patches - removed upstreamed patches