forked from pool/libcdio
Accepting request 64784 from home:coolo:nolicenses
OBS-URL: https://build.opensuse.org/request/show/64784 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=19
This commit is contained in:
parent
40249424c0
commit
eb41f29e9a
@ -1,4 +1,4 @@
|
||||
libcdio10
|
||||
libcdio12
|
||||
obsoletes "libcdio-<targettype> <= <version>"
|
||||
provides "libcdio-<targettype> = <version>"
|
||||
libiso9660-7
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 16:57:18 UTC 2011 - coolo@novell.com
|
||||
|
||||
- licenses package is about to die
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 09:42:31 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
|
@ -24,7 +24,7 @@ Name: libcdio-mini
|
||||
# You want standard build unless you will work-around build dependency on itself.
|
||||
%define STANDARD_BUILD 0
|
||||
%define _name libcdio
|
||||
BuildRequires: gcc-c++ licenses pkg-config popt-devel
|
||||
BuildRequires: gcc-c++ pkg-config popt-devel
|
||||
%if %STANDARD_BUILD
|
||||
BuildRequires: libcddb-devel libcdio-devel ncurses-devel vcdimager-devel
|
||||
#!BuildIgnore: libcdio-mini-devel
|
||||
@ -32,7 +32,7 @@ BuildRequires: libcddb-devel libcdio-devel ncurses-devel vcdimager-devel
|
||||
#BuildRequires: cdparanoia
|
||||
%endif
|
||||
Version: 0.82
|
||||
Release: 1
|
||||
Release: 2
|
||||
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
||||
%define libcdio_name 12
|
||||
%define libcdio_paranoia_name 0
|
||||
@ -47,7 +47,6 @@ Summary: Temporary Build Staging Package of CD-ROM Access Library
|
||||
Source: http://ftp.gnu.org/gnu/libcdio/%{_name}-%{version}.tar.bz2
|
||||
Source1: %{_name}_spec-prepare.sh
|
||||
Source2: baselibs.conf
|
||||
Requires: licenses
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libcdio-64bit
|
||||
@ -264,12 +263,6 @@ make %{?jobs:-j%jobs}
|
||||
%install
|
||||
%makeinstall
|
||||
mv $RPM_BUILD_ROOT%{_mandir}/jp $RPM_BUILD_ROOT%{_mandir}/ja
|
||||
for FILE in COPYING ; do
|
||||
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
|
||||
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
|
||||
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
|
||||
fi
|
||||
done
|
||||
#empty depdendency libs
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 16:57:18 UTC 2011 - coolo@novell.com
|
||||
|
||||
- licenses package is about to die
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 09:42:31 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
|
11
libcdio.spec
11
libcdio.spec
@ -24,7 +24,7 @@ Name: libcdio
|
||||
# You want standard build unless you will work-around build dependency on itself.
|
||||
%define STANDARD_BUILD 1
|
||||
%define _name libcdio
|
||||
BuildRequires: gcc-c++ licenses pkg-config popt-devel
|
||||
BuildRequires: gcc-c++ pkg-config popt-devel
|
||||
%if %STANDARD_BUILD
|
||||
BuildRequires: libcddb-devel libcdio-devel ncurses-devel vcdimager-devel
|
||||
#!BuildIgnore: libcdio-mini-devel
|
||||
@ -32,7 +32,7 @@ BuildRequires: libcddb-devel libcdio-devel ncurses-devel vcdimager-devel
|
||||
#BuildRequires: cdparanoia
|
||||
%endif
|
||||
Version: 0.82
|
||||
Release: 1
|
||||
Release: 2
|
||||
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
||||
%define libcdio_name 12
|
||||
%define libcdio_paranoia_name 0
|
||||
@ -47,7 +47,6 @@ Summary: CD-ROM Access Library
|
||||
Source: http://ftp.gnu.org/gnu/libcdio/%{_name}-%{version}.tar.bz2
|
||||
Source1: %{_name}_spec-prepare.sh
|
||||
Source2: baselibs.conf
|
||||
Requires: licenses
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libcdio-64bit
|
||||
@ -264,12 +263,6 @@ make %{?jobs:-j%jobs}
|
||||
%install
|
||||
%makeinstall
|
||||
mv $RPM_BUILD_ROOT%{_mandir}/jp $RPM_BUILD_ROOT%{_mandir}/ja
|
||||
for FILE in COPYING ; do
|
||||
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
|
||||
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
|
||||
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
|
||||
fi
|
||||
done
|
||||
#empty depdendency libs
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user