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