reduce diff to factory agai

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libshout?expand=0&rev=23
This commit is contained in:
Jan Engelhardt 2022-05-05 10:21:09 +00:00 committed by Git OBS Bridge
parent eb0e94cb82
commit d57931bf2d

View File

@ -24,7 +24,7 @@ License: LGPL-2.1-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://icecast.org/
#Git-Clone: https://gitlab.xiph.org/xiph/icecast-libshout/
Source: https://downloads.xiph.org/releases/libshout/%{name}-%{version}.tar.gz
Source: https://downloads.xiph.org/releases/libshout/%name-%version.tar.gz
Source1: baselibs.conf
BuildRequires: libtool
BuildRequires: pkgconfig
@ -50,7 +50,7 @@ data, and prevents bad data from getting to the Icecast server.
Summary: Development files for libshout, an Icecast communication library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libshout3 = %{version}
Requires: libshout3 = %version
%description devel
This package contains the include files needed to develop
@ -67,25 +67,25 @@ autoreconf --force --install
%install
%make_install
# remove unneeded files
find %{buildroot} -type f -name "*.la" -delete -print
rm -r "%{buildroot}/%{_datadir}/doc/%{name}"
find %buildroot -type f -name "*.la" -delete -print
rm -r "%buildroot/%_datadir/doc/%name"
# remove (possibly) unused ckport definitions (use libabigail instead?)
rm -R "%{buildroot}/%{_libdir}/ckport"
rm -R "%buildroot/%_libdir/ckport"
%post -n libshout3 -p /sbin/ldconfig
%postun -n libshout3 -p /sbin/ldconfig
%files -n libshout3
%{_libdir}/*.so.3*
%_libdir/*.so.3*
%files devel
%doc README doc/*.xml examples/*.c
%license COPYING
%{_bindir}/shout
%{_libdir}/*.so
%{_includedir}/shout
%{_mandir}/man1/shout.1%{?ext_man}
%{_datadir}/aclocal/*.m4
%{_libdir}/pkgconfig/*.pc
%_bindir/shout
%_libdir/*.so
%_includedir/shout
%_mandir/man1/shout.1%{?ext_man}
%_datadir/aclocal/*.m4
%_libdir/pkgconfig/*.pc
%changelog