Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
serd
serd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File serd.spec of Package serd
# # spec file for package serd # # Copyright (c) 2018 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/ # %define sover 0 Name: serd Version: 0.28.0 Release: 0 Summary: A lightweight C library for RDF syntax License: ISC Group: Development/Libraries/C and C++ Url: http://drobilla.net/software/serd/ Source0: http://download.drobilla.net/serd-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: doxygen BuildRequires: graphviz BuildRequires: pkgconfig BuildRequires: python3-base %description A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. %package -n serdi Summary: Read and write RDF syntax Group: Productivity/Text/Editors %description -n serdi Read and write RDF syntax. %package -n libserd-0-%{sover} Summary: A lightweight C library for RDF syntax Group: System/Libraries %description -n libserd-0-%{sover} A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. %package devel Summary: Development files for libserd Group: Development/Libraries/C and C++ Requires: libserd-0-%{sover} = %{version} Provides: libserd-0-devel = %{version} Obsoletes: libserd-0-devel < %{version} %description devel Development files for libserd. %prep %setup -q #Convert all file headers to python3 for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done %build export CFLAGS='%{optflags}' export CXXFLAGS='%{optflags}' ./waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --docdir=%{_defaultdocdir} \ --test \ --docs ./waf build -v %{?_smp_mflags} %install ./waf install --destdir=%{?buildroot} rm -rf %{buildroot}%{_docdir}/serd-0/html %check ./waf test %post -n libserd-0-%{sover} -p /sbin/ldconfig %postun -n libserd-0-%{sover} -p /sbin/ldconfig %files -n serdi %attr(0755,root,root) %{_bindir}/serdi %{_mandir}/man1/serdi.1* %files -n libserd-0-%{sover} %doc AUTHORS COPYING NEWS README.md %{_libdir}/libserd-0.so.%{sover}* %files devel %{_libdir}/libserd-0.so %{_includedir}/serd-0/ %{_libdir}/pkgconfig/serd-0.pc %{_mandir}/man3/serd.3%{ext_man} %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