]> git.pld-linux.org Git - packages/nsgenbind.git/commitdiff
- new auto/th/nsgenbind-0.0.1-1
authorwitekfl <witekfl@poczta.onet.pl>
Fri, 3 May 2013 11:07:01 +0000 (13:07 +0200)
committerwitekfl <witekfl@poczta.onet.pl>
Fri, 3 May 2013 11:07:01 +0000 (13:07 +0200)
nsgenbind.spec [new file with mode: 0644]

diff --git a/nsgenbind.spec b/nsgenbind.spec
new file mode 100644 (file)
index 0000000..8379354
--- /dev/null
@@ -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
This page took 0.162331 seconds and 4 git commands to generate.