Name: libparserutils Version: 0.2.0 Release: 2%{?dist} Summary: A library for building efficient parsers Group: System Environment/Libraries License: MIT URL: http://www.netsurf-browser.org/projects/libparserutils/ Source: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz BuildRequires: doxygen BuildRequires: netsurf-buildsystem BuildRequires: pkgconfig(check) %description LibParserUtils is a library for building efficient parsers, written in C. It was developed as part of the NetSurf project. Features: * No mandatory dependencies (iconv() implementation optional for enhanced charset support) * A number of built-in character set converters * Mapping of character set names to/from MIB enum values * UTF-8 and UTF-16 (host endian) support functions * Various simple data structures (resizeable buffer, stack, vector) * A UTF-8 input stream * Simple C API * Portable LibParserUtils has the following built-in charset converters: * UTF-8 * UTF-16 (platform-native endian) * ISO-8859-n * Windows-125n * US-ASCII %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation of %{name} API Group: Documentation BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %global make_vars COMPONENT_TYPE=lib-shared PREFIX=/usr LIBDIR=%{_lib} Q= %global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS" %prep %autosetup -n %{name}-%{version} -p1 sed -i -e s@-Werror@@ Makefile %build make %{?_smp_mflags} %{make_vars} %{build_vars} make %{?_smp_mflags} docs %{make_vars} %install make install DESTDIR=%{buildroot} %{make_vars} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %check make %{?_smp_mflags} test %{make_vars} %{build_vars} %files %doc COPYING README %{_libdir}/%{name}.so.* %files devel %{_includedir}/parserutils %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %files doc %doc COPYING %doc build/docs/html %changelog * Sat Jun 07 2014 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Apr 27 2014 David Tardon - 0.2.0-1 - new upstream release * Mon Jan 13 2014 David Tardon - 0.1.2-3 - fix libparserutils.pc * Tue Jan 07 2014 David Tardon - 0.1.2-2 - build with correct flags * Wed Dec 25 2013 David Tardon - 0.1.2-1 - initial import