Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
liburiparser1
liburiparser1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liburiparser1.spec of Package liburiparser1
# # spec file for package liburiparser1 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: liburiparser1 Url: http://uriparser.sourceforge.net/ %define pkg_name uriparser Version: 0.8.1 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A strictly RFC 3986 compliant URI parsing library License: BSD-3-Clause Group: Development/Libraries/C and C++ Source: http://sourceforge.net/projects/uriparser/files/Sources/%{version}/%{pkg_name}-%{version}.tar.bz2 Source1: baselibs.conf Patch0: uriparser-doxygen.patch BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: pkgconfig(libxdot) %description uriparser is a strictly RFC 3986 compliant URI parsing library. It is cross-platform, fast, and supports Unicode. %package -n uriparse Summary: A strictly RFC 3986 compliant URI parsing command line tool License: BSD-3-Clause Group: Development/Libraries/C and C++ %description -n uriparse uriparser is a strictly RFC 3986 compliant URI parsing library. It is cross-platform, fast, and supports Unicode. uriparse is a command line tool which allows to parse URI's and show how the liburiparser splits it into components. %package -n liburiparser-devel Summary: A strictly RFC 3986 compliant URI parsing library License: BSD-3-Clause and LGPL-2.1 Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: glibc-devel %description -n liburiparser-devel uriparser is a strictly RFC 3986 compliant URI parsing library. It is cross-platform, fast, and supports Unicode. %prep %setup -q -n %{pkg_name}-%{version} %patch0 -p 1 #file is dated in the future.. #find . -type f -exec touch {} + # This is ridiculous but the patch doesn't apply at all for no reasons sed -i "s|# .qhp output|HTML_TIMESTAMP=NO|g" doc/Doxyfile.in %build %configure --disable-static --with-pic --disable-test --docdir=%{_docdir}/%{pkg_name} make %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %{__rm} -f %{buildroot}%{_libdir}/*.la %check export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) %{__make} check unset MALLOC_CHECK_ MALLOC_PERTURB_ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/liburiparser.so.1* %files -n uriparse %defattr(-,root,root) %{_bindir}/uriparse %files -n liburiparser-devel %defattr(-,root,root) %dir %{_includedir}/%{pkg_name} %{_includedir}/%{pkg_name}/*.h %{_libdir}/liburiparser.so %{_libdir}/pkgconfig/liburiparser.pc %{_docdir}/%{pkg_name}/html/* %dir %{_docdir}/%{pkg_name} %dir %{_docdir}/%{pkg_name}/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor