2008-05-30 06:57:27 +00:00
|
|
|
Name: libcdio
|
|
|
|
Version: 0.80
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: CD-ROM input and control library
|
|
|
|
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
|
|
|
|
Source2: libcdio-no_date_footer.hml
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: pkgconfig doxygen
|
|
|
|
BuildRequires: ncurses-devel
|
2004-11-08 04:41:39 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
%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}
|
|
|
|
Group: Development/Libraries
|
2005-03-03 22:41:31 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-11-08 04:41:39 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains header files and static libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-01-04 09:50:28 +00:00
|
|
|
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in
|
2005-04-24 18:44:00 +00:00
|
|
|
iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
|
2004-11-08 04:41:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2005-08-01 18:19:28 +00:00
|
|
|
%configure \
|
|
|
|
--disable-vcd-info \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-cddb \
|
|
|
|
--disable-rpath
|
2005-08-23 15:13:08 +00:00
|
|
|
make %{?_smp_mflags}
|
2005-09-26 08:21:49 +00:00
|
|
|
cd doc/doxygen
|
2008-01-02 13:02:02 +00:00
|
|
|
sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile
|
|
|
|
cp %{SOURCE2} .
|
2005-09-26 08:21:49 +00:00
|
|
|
./run_doxygen
|
2004-11-08 04:41:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
2005-04-24 18:44:00 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja}
|
|
|
|
|
2005-09-26 08:21:49 +00:00
|
|
|
rm -rf examples
|
|
|
|
mkdir -p examples/C++
|
|
|
|
cp -a example/{*.c,README} examples
|
|
|
|
cp -a example/C++/{*.cpp,README} examples/C++
|
|
|
|
|
2005-04-24 18:44:00 +00:00
|
|
|
|
|
|
|
%check || :
|
2005-09-26 08:21:49 +00:00
|
|
|
# disable test using local CDROM
|
2008-05-30 06:57:27 +00:00
|
|
|
%{__sed} -i -e "s,testiso9660\$(EXEEXT),,g" \
|
|
|
|
-e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \
|
|
|
|
test/Makefile
|
2005-04-24 18:44:00 +00:00
|
|
|
make check
|
2005-04-24 17:31:21 +00:00
|
|
|
|
2004-11-08 04:41:39 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
2005-08-01 18:19:28 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info \
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
2004-11-08 04:41:39 +00:00
|
|
|
fi
|
|
|
|
|
2005-04-24 18:44:00 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2004-11-08 04:41:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_infodir}/*
|
2005-04-24 17:31:21 +00:00
|
|
|
%{_mandir}/man1/*
|
2005-04-24 18:44:00 +00:00
|
|
|
%lang(ja) %{_mandir}/ja/man1/*
|
2004-11-08 04:41:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2005-09-26 08:21:49 +00:00
|
|
|
%doc doc/doxygen/html examples
|
2004-11-08 04:41:39 +00:00
|
|
|
%{_includedir}/cdio
|
2006-09-23 21:51:39 +00:00
|
|
|
%{_includedir}/cdio++
|
2004-11-08 04:41:39 +00:00
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-05-30 06:57:27 +00:00
|
|
|
* Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1
|
|
|
|
- updated to 0.80
|
|
|
|
- removed upstreamed patches
|
|
|
|
- last GPLv2+ release
|
|
|
|
|
2008-02-14 14:03:00 +00:00
|
|
|
* Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 0.79-3
|
|
|
|
- added patch to compile with gcc43
|
|
|
|
|
2008-01-04 09:50:28 +00:00
|
|
|
* Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2
|
|
|
|
- fixed security fix (was off by two)
|
|
|
|
|
2008-01-02 13:02:02 +00:00
|
|
|
* Wed Jan 02 2008 Adrian Reber <adrian@lisas.de> - 0.79-1
|
|
|
|
- updated to 0.79
|
|
|
|
- fixes #427197 (Long Joliet file name overflows cdio's buffer)
|
|
|
|
- fixes #341981 (multiarch conflicts in libcdio)
|
|
|
|
|
2007-08-24 13:36:07 +00:00
|
|
|
* Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-3
|
|
|
|
- rebuilt
|
|
|
|
|
2007-07-23 12:38:09 +00:00
|
|
|
* Mon Jul 23 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-2
|
|
|
|
- updated to 0.78.2 (#221359) (this time for real)
|
|
|
|
|
2007-01-04 11:51:16 +00:00
|
|
|
* Thu Jan 04 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-1
|
|
|
|
- updated to 0.78.2 (#221359)
|
|
|
|
|
2006-10-05 13:17:52 +00:00
|
|
|
* Thu Oct 05 2006 Adrian Reber <adrian@lisas.de> - 0.77-3
|
|
|
|
- disabled iso9660 test case (fails for some reason with date problems)
|
|
|
|
this seems to be a known problem according to the ChangeLog
|
|
|
|
|
2006-10-04 22:23:12 +00:00
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.77-2
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-23 21:51:39 +00:00
|
|
|
* Fri Sep 22 2006 Adrian Reber <adrian@lisas.de> - 0.77-1
|
|
|
|
- Updated to 0.77
|
|
|
|
|
2006-09-18 07:18:55 +00:00
|
|
|
* Mon Sep 18 2006 Adrian Reber <adrian@lisas.de> - 0.76-3
|
|
|
|
- Rebuilt
|
|
|
|
|
2006-03-13 00:19:36 +00:00
|
|
|
* Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-2
|
|
|
|
- Rebuilt
|
|
|
|
|
2005-09-26 08:21:49 +00:00
|
|
|
* Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-1
|
|
|
|
- Updated to 0.76.
|
|
|
|
- Included doxygen generated documentation into -devel
|
|
|
|
- Included examples into -devel
|
|
|
|
|
2005-08-01 18:19:28 +00:00
|
|
|
* Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 0.75-4
|
|
|
|
- disable test accessing local CDROM drive (#164266)
|
|
|
|
|
|
|
|
* Wed Jul 27 2005 Adrian Reber <adrian@lisas.de> - 0.75-3
|
|
|
|
- Rebuilt without libcddb dependency (#164270)
|
|
|
|
|
2005-07-26 11:56:22 +00:00
|
|
|
* Tue Jul 26 2005 Adrian Reber <adrian@lisas.de> - 0.75-2
|
|
|
|
- Rebuilt
|
|
|
|
|
2005-07-15 06:30:22 +00:00
|
|
|
* Thu Jul 14 2005 Adrian Reber <adrian@lisas.de> - 0.75-1
|
|
|
|
- Updated to 0.75.
|
|
|
|
|
2005-06-05 10:49:18 +00:00
|
|
|
* Fri Jun 03 2005 Adrian Reber <adrian@lisas.de> - 0.74-2
|
2005-06-05 10:27:25 +00:00
|
|
|
- Updated to 0.74.
|
|
|
|
|
2005-04-24 18:44:00 +00:00
|
|
|
* Sun Apr 24 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.73-2
|
|
|
|
- BuildRequire ncurses-devel (for cdda-player and cd-paranoia).
|
|
|
|
- Run test suite during build.
|
|
|
|
- Install Japanese man pages.
|
|
|
|
|
2005-04-24 17:31:21 +00:00
|
|
|
* Sun Apr 24 2005 Adrian Reber <adrian@lisas.de> - 0.73-1
|
|
|
|
- Updated to 0.73.
|
|
|
|
|
2005-03-18 14:02:21 +00:00
|
|
|
* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.70-2
|
|
|
|
- Fix FC4 build (#151468).
|
|
|
|
- Build with dependency tracking disabled.
|
|
|
|
|
2004-11-08 04:42:57 +00:00
|
|
|
* Sun Sep 5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.70-0.fdr.1
|
|
|
|
- Updated to 0.70.
|
|
|
|
|
2004-11-08 04:41:39 +00:00
|
|
|
* Sat Jul 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.69-0.fdr.1
|
|
|
|
- Updated to 0.69.
|
|
|
|
- Removed broken iso-read.
|
|
|
|
- Split Requires(pre,post).
|
|
|
|
- Added BuildReq pkgconfig.
|
|
|
|
|
|
|
|
* Mon Mar 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.68-0.fdr.1
|
|
|
|
- Initial RPM release.
|
|
|
|
|