Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Hörnquist
gumbo-rpm
Commits
74d4c4ab
Commit
74d4c4ab
authored
Jul 01, 2020
by
Hugo Hörnquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gumbo.spec.
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
SPECS/gumbo.spec
SPECS/gumbo.spec
+43
-0
No files found.
SPECS/gumbo.spec
0 → 100644
View file @
74d4c4ab
Name: gumbo-parser
Version: 0.10.1
Release: 0
Summary: An HTML5 parsing library in pure C99
Group: Development/Libraries/HTML
License: Apache-2.0
URL: https://github.com/google/gumbo-parser
Vendor: Google.com
Source: %{url}/archive/v%{version}.tar.gz#/gumbo-parser-%{version}.tar.gz
Prefix: %{_prefix}
Packager: hugo <hugo@lysator.liu.se>
BuildRoot: %{tmppath}/%{name}-root
%description
Gumbo is an implementation of the HTML5 parsing algorithm implemented
as a pure C99 library with no outside dependencies. It's designed to
serve as a building block for other tools and libraries such as
linters, validators, templating languages, and refactoring and
analysis tools.
%prep
%setup
%build
./autogen.sh
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=/etc
make -j
%install
# [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%{_prefix}/include/gumbo.h
%{_prefix}/include/tag_enum.h
%{_prefix}/lib/libgumbo*
%{_prefix}/lib/pkgconfig/gumbo.pc
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment