From 6cebdc4d48b8f5816575b919e4c6c3e687694912 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:56:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.23-1mamba;Sun Aug 23 2015] --- README.md | 2 ++ libtnc.spec | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 libtnc.spec diff --git a/README.md b/README.md index eb1740f..a968aef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libtnc +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: + diff --git a/libtnc.spec b/libtnc.spec new file mode 100644 index 0000000..8de4143 --- /dev/null +++ b/libtnc.spec @@ -0,0 +1,81 @@ +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 +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 1.23-1mamba +- package created using the webbuild interface