Initial import (#1376899).
This commit is contained in:
parent
928494bb2e
commit
efb0259084
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/1.0.tar.gz
|
||||
62
pcaudiolib.spec
Normal file
62
pcaudiolib.spec
Normal file
@ -0,0 +1,62 @@
|
||||
Name: pcaudiolib
|
||||
Version: 1.0
|
||||
Release: 3%{?dist}
|
||||
Summary: Portable C Audio Library
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/rhdunn/pcaudiolib
|
||||
Source0: %{url}/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc make autoconf automake libtool pkgconfig
|
||||
BuildRequires: alsa-lib-devel pulseaudio-libs-devel
|
||||
|
||||
%description
|
||||
The Portable C Audio Library (pcaudiolib) provides a C API to different
|
||||
audio devices.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for pcaudiolib
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for the Portable C Audio Library.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -vf %{buildroot}%{_libdir}/*.{a,la}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%doc AUTHORS
|
||||
%doc CHANGELOG.md
|
||||
%{_libdir}/libpcaudio.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libpcaudio.so
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/audio.h
|
||||
|
||||
%changelog
|
||||
* Thu Sep 22 2016 Ondřej Lysoněk <olysonek@redhat.com> - 1.0-3
|
||||
- Made the pcaudiolib-devel Requires arch-specific
|
||||
|
||||
* Thu Sep 22 2016 Ondřej Lysoněk <olysonek@redhat.com> - 1.0-2
|
||||
- Own the /usr/include/pcaudiolib directory
|
||||
|
||||
* Fri Sep 16 2016 Ondřej Lysoněk <olysonek@redhat.com> 1.0-1
|
||||
- Initial package
|
||||
Loading…
Reference in New Issue
Block a user