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:
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
|
||||
|
||||
|
Reference in New Issue
Block a user