[packages/nsgenbind: 2/2] - new
witekfl
witekfl at pld-linux.org
Fri May 3 13:07:41 CEST 2013
commit b93dde23b76e8dac3f7b8c907ce554e981801f22
Author: witekfl <witekfl at poczta.onet.pl>
Date: Fri May 3 13:07:01 2013 +0200
- new
nsgenbind.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
---
diff --git a/nsgenbind.spec b/nsgenbind.spec
new file mode 100644
index 0000000..8379354
--- /dev/null
+++ b/nsgenbind.spec
@@ -0,0 +1,47 @@
+#
+Summary: Tool to generate dom bindings
+Name: nsgenbind
+Version: 0.0.1
+Release: 1
+License: MIT
+Group: Development/Tools
+Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
+# Source0-md5: 1b40fc743358b1331f1fe723a3e931bc
+Patch0: bison.patch
+URL: http://www.netsurf-browser.org/
+BuildRequires: bison
+BuildRequires: flex
+BuildRequires: netsurf-buildsystem
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a tool to generate javascript to dom bindings from w3c webidl
+files and a binding configuration file.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+CFLAGS="%{rpmcflags}"
+LDFLAGS="%{rpmldflags}"
+export CFLAGS
+export LDFLAGS
+
+%{__make} PREFIX=%{_prefix} Q=''
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX=%{_prefix} \
+ Q=''
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/nsgenbind
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nsgenbind.git/commitdiff/b93dde23b76e8dac3f7b8c907ce554e981801f22
More information about the pld-cvs-commit
mailing list