libtnc/libtnc.spec

82 lines
2.1 KiB
RPMSpec

Name: libtnc
Version: 1.23
Release: 1mamba
Summary: Library for loading and interfacing with loadable IMC and IMV modules
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/libtnc/
Source: http://downloads.sourceforge.net/project/libtnc/libtnc/libtnc-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This library provides functions for loading and interfacing with loadable IMC and IMV modules as required by the TNC IF-IMC and IF-IMV interfaces as described in:
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%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}/libosc_imc.so.*
%{_libdir}/libosc_imv.so.*
%{_libdir}/libsample_imc.so.*
%{_libdir}/libsample_imv.so.*
%{_libdir}/libtnc.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libtnc*.h
%{_includedir}/tnc*.h
%{_libdir}/libosc_imc.a
%{_libdir}/libosc_imc.la
%{_libdir}/libosc_imc.so
%{_libdir}/libosc_imv.a
%{_libdir}/libosc_imv.la
%{_libdir}/libosc_imv.so
%{_libdir}/libsample_imc.a
%{_libdir}/libsample_imc.la
%{_libdir}/libsample_imc.so
%{_libdir}/libsample_imv.a
%{_libdir}/libsample_imv.la
%{_libdir}/libsample_imv.so
%{_libdir}/libtnc.a
%{_libdir}/libtnc.la
%{_libdir}/libtnc.so
%doc ChangeLog README TODO
%changelog
* Sun Aug 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23-1mamba
- package created using the webbuild interface