libcdio-paranoia/libcdio-paranoia.spec

91 lines
2.3 KiB
RPMSpec

Name: libcdio-paranoia
Version: 10.2
Release: 1mamba
Summary: CD paranoia on top of libcdio
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rocky/libcdio-paranoia
## GITSOURCE https://github.com/rocky/libcdio-paranoia.git master
Source: https://github.com/rocky/libcdio-paranoia.git/master/libcdio-paranoia-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcdio-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
CD paranoia on top of libcdio.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcdio_cdda.so.*
%{_libdir}/libcdio_paranoia.so.*
%doc AUTHORS COPYING THANKS
%files devel
%defattr(-,root,root)
%{_includedir}/cdio/paranoia/cdda.h
%{_includedir}/cdio/paranoia/paranoia.h
%{_libdir}/libcdio_cdda.a
%{_libdir}/libcdio_cdda.la
%{_libdir}/libcdio_cdda.so
%{_libdir}/libcdio_paranoia.a
%{_libdir}/libcdio_paranoia.la
%{_libdir}/libcdio_paranoia.so
%{_libdir}/pkgconfig/libcdio_cdda.pc
%{_libdir}/pkgconfig/libcdio_paranoia.pc
%doc NEWS README.md
%files tools
%defattr(-,root,root)
%{_bindir}/cd-paranoia
%{_mandir}/man1/cd-paranoia.1*
%lang(jp) %{_mandir}/jp/man1/cd-paranoia.1*
%changelog
* Sun Aug 18 2019 Automatic Build System <autodist@mambasoft.it> 10.2-1mamba
- automatic version update by autodist
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created using the webbuild interface