gsound/gsound.spec

102 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: gsound
Version: 1.0.3
Release: 1mamba
Summary: A small library for playing system sounds
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/
Source: http://ftp.acc.umu.se/pub/GNOME/sources/gsound/1.0/gsound-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcanberra-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
GSound is a small library for playing system sounds.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-Dgtk_doc=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gsound-play
%{_mandir}/man1/gsound-play.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgsound.so.*
%{_libdir}/girepository-1.0/GSound-1.0.typelib
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/gsound-attr.h
%{_includedir}/gsound-context.h
%{_includedir}/gsound.h
%{_libdir}/libgsound.so
%{_libdir}/pkgconfig/gsound.pc
%{_datadir}/gir-1.0/GSound-1.0.gir
%{_datadir}/vala/vapi/gsound.deps
%{_datadir}/vala/vapi/gsound.vapi
%doc ChangeLog README
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gsound-%{version}
%{_datadir}/gtk-doc/html/gsound-%{version}/*
%changelog
* Sun Aug 22 2021 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic version update by autodist
* Thu Oct 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- package created using the webbuild interface