Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
audacious
audacious.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File audacious.spec of Package audacious
# # spec file for package audacious # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define aud_plugin_ver_min 3.8 %define aud_plugin_ver_max 3.8.99 %define core_soname 4 %define qt_soname 1 %define gui_soname 4 %define tag_soname 3 %if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) %bcond_without qt %else %bcond_with qt %endif %bcond_without gtk Name: audacious Version: 3.8.2 Release: 0 Summary: Audio player with graphical UI and library functionality License: BSD-2-Clause Group: Productivity/Multimedia/Sound/Players Url: http://audacious-media-player.org/ Source: http://distfiles.audacious-media-player.org/%{name}-%{version}-gtk3.tar.bz2 # PATCH-FIX-UPSTREAM audacious-no-inode-directory-mimetype.patch i@marguerite.su -- Don't open directories with Audacious. Patch: audacious-no-inode-directory-mimetype.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc-c++ >= 4.5 BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) >= 1.0.2 BuildRequires: pkgconfig(dbus-glib-1) >= 0.88 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32 BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gmodule-2.0) >= 2.32 BuildRequires: pkgconfig(libguess) >= 1.2 Requires: %{name}-plugins%{?_isa} <= %{aud_plugin_ver_max} Requires: %{name}-plugins%{?_isa} >= %{aud_plugin_ver_min} Recommends: %{name}-lang Recommends: %{name}-plugins-extra >= %{aud_plugin_ver_min} %if %{with gtk} BuildRequires: pkgconfig(gtk+-3.0) >= 3.4 %endif %if %{with qt} BuildRequires: pkgconfig(Qt5Core) >= 5.2 BuildRequires: pkgconfig(Qt5Gui) >= 5.2 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2 %endif %description Audacious is an audio player. It is based on GTK+ and supports a wide range of audio codecs. It still features an alternative skinned user interface (based on Winamp 2.x skins). Historically, it started as a fork of a fork of XMMS. %lang_package %package -n libaudcore%{core_soname} Summary: Main functionality library of Audacious Group: System/Libraries Provides: libaudcore%{?_isa} = %{version} %description -n libaudcore%{core_soname} Library from the Audacious audio player. %if %{with qt} %package -n libaudqt%{qt_soname} Summary: QT GUI implementation of Audacious Group: System/Libraries Requires: libaudcore%{core_soname} >= %{version} %description -n libaudqt%{qt_soname} Library from the Audacious audio player. %endif %if %{with gtk} %package -n libaudgui%{gui_soname} Summary: GTK GUI implementation of Audacious Group: System/Libraries Requires: libaudcore%{core_soname} >= %{version} %description -n libaudgui%{gui_soname} Library from the Audacious audio player. %endif %package -n libaudtag%{tag_soname} Summary: ID3 and APE metadata support for Audacious Group: System/Libraries Requires: libaudcore%{core_soname} >= %{version} %description -n libaudtag%{tag_soname} Library from the Audacious audio player. %package devel Summary: Development files for Audacious Group: Development/Libraries/C and C++ Requires: libaudcore%{core_soname} = %{version} Requires: libaudtag%{tag_soname} = %{version} %if %{with qt} Requires: libaudqt%{qt_soname} = %{version} %endif %if %{with gtk} Requires: libaudgui%{gui_soname} = %{version} %endif %description devel Development files for Audacious audio player. %prep %setup -q -n %{name}-%{version}-gtk3 %patch -p1 %build NOCONFIGURE=1 ./autogen.sh %configure \ %if %{with qt} --enable-qt \ %else --disable-qt \ %endif %if %{with gtk} --enable-gtk \ %else --disable-gtk \ %endif --disable-rpath make %{?_smp_mflags} V=1 %install %make_install %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 install -Dpm 0644 contrib/%{name}.appdata.xml %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml %else install -Dpm 0644 contrib/%{name}.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %endif %find_lang %{name} %fdupes %{buildroot}%{_datadir}/ %post %icon_theme_cache_post %desktop_database_post %postun %desktop_database_postun %icon_theme_cache_postun %post -n libaudcore%{core_soname} -p /sbin/ldconfig %postun -n libaudcore%{core_soname} -p /sbin/ldconfig %if %{with qt} %post -n libaudqt%{qt_soname} -p /sbin/ldconfig %postun -n libaudqt%{qt_soname} -p /sbin/ldconfig %endif %if %{with gtk} %post -n libaudgui%{gui_soname} -p /sbin/ldconfig %postun -n libaudgui%{gui_soname} -p /sbin/ldconfig %endif %post -n libaudtag%{tag_soname} -p /sbin/ldconfig %postun -n libaudtag%{tag_soname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING %{_bindir}/%{name} %{_bindir}/audtool %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}* %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 %dir %{_datadir}/metainfo/ %{_datadir}/metainfo/%{name}.appdata.xml %else %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %endif %{_mandir}/man?/%{name}.?%{?ext_man} %{_mandir}/man?/audtool.?%{?ext_man} %files lang -f %{name}.lang %defattr(-,root,root) %files -n libaudcore%{core_soname} %defattr(-,root,root) %{_libdir}/libaudcore.so.%{core_soname}* %if %{with qt} %files -n libaudqt%{qt_soname} %defattr(-,root,root) %{_libdir}/libaudqt.so.%{qt_soname}* %endif %if %{with gtk} %files -n libaudgui%{gui_soname} %defattr(-,root,root) %{_libdir}/libaudgui.so.%{gui_soname}* %endif %files -n libaudtag%{tag_soname} %defattr(-,root,root) %{_libdir}/libaudtag.so.%{tag_soname}* %files devel %defattr(-,root,root) %{_includedir}/%{name}/ %{_includedir}/libaudcore/ %{_libdir}/libaudcore.so %if %{with qt} %{_includedir}/libaudqt/ %{_libdir}/libaudqt.so %endif %if %{with gtk} %{_includedir}/libaudgui/ %{_libdir}/libaudgui.so %endif %{_libdir}/libaudtag.so %{_libdir}/pkgconfig/%{name}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor