Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
libcdio-paranoia
libcdio-paranoia.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcdio-paranoia.spec of Package libcdio-paranoia
# # spec file for package libcdio-paranoia # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define gitver 4c905cc %define sonum 1 Name: libcdio-paranoia Version: 0.0.%{gitver} Release: 0 Summary: CDDA reader License: GPL-2.0 Group: Productivity/Multimedia/Other Url: https://github.com/rocky/libcdio-paranoia.git Source0: %{name}-%{gitver}.tar.bz2 Source1: baselibs.conf Patch0: libcdio-paranoia-includes.patch BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(libcdio) %description This CDDA reader distribution ('libcdio-cdparanoia') reads audio from he CDROM directly as data, with no analog step between, and writes the data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM. %package -n cd-paranoia Summary: CDDA reader Group: Productivity/Multimedia/Other %description -n cd-paranoia This CDDA reader distribution ('libcdio-cdparanoia') reads audio from he CDROM directly as data, with no analog step between, and writes the data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM. %package -n libcdio_cdda%{sonum} Summary: CDDA reader Group: System/Libraries %description -n libcdio_cdda%{sonum} This CDDA reader distribution ('libcdio-cdparanoia') reads audio from he CDROM directly as data, with no analog step between, and writes the data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM. %package -n libcdio_paranoia%{sonum} Summary: CDDA reader Group: System/Libraries %description -n libcdio_paranoia%{sonum} This CDDA reader distribution ('libcdio-cdparanoia') reads audio from he CDROM directly as data, with no analog step between, and writes the data to a file or pipe as .wav, .aifc or as raw 16 bit linear PCM. %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ Requires: libcdio_cdda%{sonum} = %{version}-%{release} Requires: libcdio_paranoia%{sonum} = %{version}-%{release} Requires: pkgconfig(libcdio) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %define _configure ./autogen.sh %prep %setup -q -n %{name}-%{gitver} %patch0 cat include/cdio/paranoia/paranoia.h|sed 's|<cdio/cdda.h>|"cdda.h"|'>include/cdio/paranoia/paranoia.h.h && \ mv include/cdio/paranoia/paranoia.h.h include/cdio/paranoia/paranoia.h %define buildir ${PWD} %build %configure --disable-static --with-pic make -e %{?_smp_mflags} %install make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' mv %{buildroot}%{_mandir}/jp %{buildroot}%{_mandir}/ja cat %{buildroot}%{_includedir}/cdio/paranoia.h|sed 's|"cdda.h"|<cdio/cdda.h>|'>%{buildroot}%{_includedir}/cdio/paranoia.h.h && \ mv %{buildroot}%{_includedir}/cdio/paranoia.h.h %{buildroot}%{_includedir}/cdio/paranoia.h %post -n libcdio_cdda%{sonum} -p /sbin/ldconfig %postun -n libcdio_cdda%{sonum} -p /sbin/ldconfig %postun -n libcdio_paranoia%{sonum} -p /sbin/ldconfig %post -n libcdio_paranoia%{sonum} -p /sbin/ldconfig %files -n cd-paranoia %defattr (-, root, root) %doc COPYING-GPL README NEWS NEWS AUTHORS %{_bindir}/cd-paranoia %doc %{_mandir}/ja/man1/cd-paranoia.1.gz %doc %{_mandir}/man1/cd-paranoia.1.gz %files -n libcdio_cdda%{sonum} %defattr (-, root, root) %{_libdir}/libcdio_cdda.so.* %files -n libcdio_paranoia%{sonum} %defattr (-, root, root) %{_libdir}/libcdio_paranoia.so.* %files devel %defattr (-, root, root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor