From 6ed50a44b82a9b6e1e35c95fdfcde8d2ce00c44e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:43:01 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.27.2-1mamba;Sat Oct 11 2014] --- README.md | 2 ++ npapi-sdk.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 npapi-sdk.spec diff --git a/README.md b/README.md index a38b860..0498c5c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # npapi-sdk +NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla. This package provides a clear way to install those headers and depend on them. + diff --git a/npapi-sdk.spec b/npapi-sdk.spec new file mode 100644 index 0000000..1ea4106 --- /dev/null +++ b/npapi-sdk.spec @@ -0,0 +1,54 @@ +Name: npapi-sdk +Version: 0.27.2 +Release: 1mamba +Summary: A bundle of Netscape Plugin Application Programming Interface headers by Mozilla +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://code.google.com/p/npapi-sdk/ +Source: https://bitbucket.org/mgorny/npapi-sdk/downloads/npapi-sdk-%{version}.tar.bz2 +License: MPL 1.1 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla. This package provides a clear way to install those headers and depend on them. + +%package devel +Group: Development/Libraries +Summary: A bundle of Netscape Plugin Application Programming Interface headers by Mozilla +Requires: pkg-config + +%description devel +NPAPI-SDK is a bundle of Netscape Plugin Application Programming Interface headers by Mozilla. This package provides a clear way to install those headers and depend on them. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%{_includedir}/npapi-sdk/npapi.h +%{_includedir}/npapi-sdk/npfunctions.h +%{_includedir}/npapi-sdk/npruntime.h +%{_includedir}/npapi-sdk/nptypes.h +%{_libdir}/pkgconfig/npapi-sdk.pc +%doc COPYING +%doc README + + +%changelog +* Sat Oct 11 2014 Silvan Calarco 0.27.2-1mamba +- package created using the webbuild interface