rebuilt with --with-buildstamp; added library package; install metainfo file [release 4.2-2mamba;Sat Jan 14 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 20:38:15 +01:00
parent 307a151854
commit abaa8ed073

View File

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