81 lines
2.1 KiB
RPMSpec
81 lines
2.1 KiB
RPMSpec
Name: rtfilter
|
|
Version: 1.1
|
|
Release: 1mamba
|
|
Summary: Realtime digital filtering library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://cnbi.epfl.ch/software/rtfilter.html
|
|
## GITSOURCE https://github.com/nbourdau/rtfilter.git rtfilter-1.1
|
|
Source: https://github.com/nbourdau/rtfilter.git/rtfilter-%{version}/rtfilter-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Realtime digital filtering library.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Realtime digital filtering library
|
|
|
|
%description -n lib%{name}
|
|
Realtime digital filtering library.
|
|
|
|
%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}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -f -i
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/librtfilter.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/rtf_common.h
|
|
%{_includedir}/rtfilter.h
|
|
%{_libdir}/librtfilter.la
|
|
%{_libdir}/librtfilter.so
|
|
%{_libdir}/pkgconfig/rtfilter.pc
|
|
%dir %{_datadir}/doc/rtfilter
|
|
%{_datadir}/doc/rtfilter/*
|
|
%dir %{_datadir}/doc/rtfilter/examples
|
|
%{_datadir}/doc/rtfilter/examples/*
|
|
%{_mandir}/man3/rtf_*.3.gz
|
|
%doc ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Sun Oct 29 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
|
|
- package created using the webbuild interface
|