]> git.pld-linux.org Git - packages/nsgenbind.git/blob - nsgenbind.spec
- up to 0.1.0
[packages/nsgenbind.git] / nsgenbind.spec
1 #
2 Summary:        Tool to generate dom bindings
3 Name:           nsgenbind
4 Version:        0.1.0
5 Release:        1
6 License:        MIT
7 Group:          Development/Tools
8 Source0:        http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  23ebe622872b4a587f86c5885146d81e
10 URL:            http://www.netsurf-browser.org/
11 BuildRequires:  bison
12 BuildRequires:  flex
13 BuildRequires:  netsurf-buildsystem
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This is a tool to generate javascript to dom bindings from w3c webidl
18 files and a binding configuration file.
19
20 %prep
21 %setup -q
22
23 %build
24 CFLAGS="%{rpmcflags}"
25 LDFLAGS="%{rpmldflags}"
26 export CFLAGS
27 export LDFLAGS
28
29 %{__make} PREFIX=%{_prefix} Q=''
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT \
36         PREFIX=%{_prefix} \
37         Q=''
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README
45 %attr(755,root,root) %{_bindir}/nsgenbind
This page took 0.117042 seconds and 4 git commands to generate.