rebuilt with --with-buildstamp; added library package; install metainfo file [release 4.2-2mamba;Sat Jan 14 2023]
This commit is contained in:
parent
307a151854
commit
abaa8ed073
@ -1,6 +1,6 @@
|
||||
Name: audacious
|
||||
Version: 4.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Media player which uses a skinned interface
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
@ -18,7 +18,7 @@ Patch3: audacious-1.4.2-id3tag-close-file.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libat-spi2-core-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
@ -65,37 +65,49 @@ Requires: audacious-plugins-alsa
|
||||
Requires: audacious-plugins-jack
|
||||
Requires: audacious-plugins-skins
|
||||
%endif
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
Audacious is a media player based on the BMP music playing application.
|
||||
Its primary goals are usability and usage of current desktop standards.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
%package -n lib%{name}
|
||||
Summary: Shared libraries provided by %{name}
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%description -n lib%{name}
|
||||
Shared libraries provide with Audacious.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: audacious-devel
|
||||
Obsoletes: audacious-devel < 4.2-2mamba
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
Development files for Audacious.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#-D -T
|
||||
|
||||
%build
|
||||
#:<< _EOF
|
||||
%configure \
|
||||
--prefix=%{_prefix} \
|
||||
--datadir=%{_datadir} \
|
||||
--enable-samplerate \
|
||||
--enable-ipv6 \
|
||||
--enable-chardet
|
||||
--with-buildstamp='%{_distrib_id}'
|
||||
|
||||
%make GLIB_LIBS="`pkg-config --libs glib-2.0` `pkg-config --libs gmodule-2.0`"
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -D -m0644 contrib/audacious.appdata.xml %{buildroot}%{_datadir}/metainfo/audacious-appdata.xml
|
||||
|
||||
chrpath -d %{buildroot}%{_bindir}/*
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/xmms/Skins
|
||||
@ -107,28 +119,31 @@ done
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/audacious
|
||||
%{_bindir}/audtool
|
||||
%{_libdir}/libaudcore.so.*
|
||||
%{_libdir}/libaudgui.so.*
|
||||
%{_libdir}/libaudqt.so.*
|
||||
%{_libdir}/libaudtag.so.*
|
||||
%attr(755,root,root) %{_datadir}/audacious
|
||||
%attr(755,root,root) %{_datadir}/xmms/Skins
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/metainfo/audacious-appdata.xml
|
||||
%{_datadir}/icons/hicolor/48x48/apps/audacious.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/audacious.svg
|
||||
%{_mandir}/man1/audacious.1*
|
||||
%{_mandir}/man1/audtool.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libaudcore.so.*
|
||||
%{_libdir}/libaudgui.so.*
|
||||
%{_libdir}/libaudqt.so.*
|
||||
%{_libdir}/libaudtag.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files devel
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/audacious
|
||||
%{_includedir}/audacious/*
|
||||
@ -146,6 +161,9 @@ done
|
||||
#%doc NEWS README
|
||||
|
||||
%changelog
|
||||
* Sat Jan 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-2mamba
|
||||
- rebuilt with --with-buildstamp; added library package; install metainfo file
|
||||
|
||||
* Mon Jul 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-1mamba
|
||||
- update to 4.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user