Accepting request 130451 from home:RedDwarf
Needed by lilv, will be submitted to Factory OBS-URL: https://build.opensuse.org/request/show/130451 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/serd?expand=0&rev=1
This commit is contained in:
commit
eb2a9850d2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
serd-0.14.0.tar.bz2
Normal file
3
serd-0.14.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f728436735ead9ef26e3006ea3e2ac64cdeaae64fec73b7804e586e01d76f08
|
||||
size 298512
|
5
serd.changes
Normal file
5
serd.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 8 22:29:36 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- First version of the package
|
||||
|
98
serd.spec
Normal file
98
serd.spec
Normal file
@ -0,0 +1,98 @@
|
||||
#
|
||||
# spec file for package serd
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products 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 soname 0
|
||||
|
||||
Name: serd
|
||||
Version: 0.14.0
|
||||
Release: 0
|
||||
Summary: A lightweight C library for RDF syntax
|
||||
License: ISC
|
||||
Group: System/Libraries
|
||||
Url: http://drobilla.net/software/serd/
|
||||
Source0: http://download.drobilla.net/serd-%{version}.tar.bz2
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-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/Editors/Other
|
||||
|
||||
%description -n serdi
|
||||
Read and write RDF syntax.
|
||||
|
||||
%package -n libserd-0-%{soname}
|
||||
Summary: A lightweight C library for RDF syntax
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libserd-0-%{soname}
|
||||
A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
|
||||
|
||||
%package -n libserd-0-devel
|
||||
Summary: Development files for libserd
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libserd-0-%{soname} = %{version}
|
||||
|
||||
%description -n libserd-0-devel
|
||||
Development files for libserd.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS='%{optflags}'
|
||||
export CXXFLAGS='%{optflags}'
|
||||
./waf configure \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--docdir=%{_defaultdocdir} \
|
||||
--docs
|
||||
# waf only understands -j, so do not use smp_mflags
|
||||
./waf build -v %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
./waf install --destdir=%{?buildroot}
|
||||
|
||||
%post -n libserd-0-%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libserd-0-%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n serdi
|
||||
%defattr(0644,root,root,0755)
|
||||
%attr(0755,-,-) %{_bindir}/serdi
|
||||
%{_mandir}/man1/serdi.1*
|
||||
|
||||
%files -n libserd-0-%{soname}
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%{_libdir}/libserd-0.so.%{soname}*
|
||||
|
||||
%files -n libserd-0-devel
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_libdir}/libserd-0.so
|
||||
%{_includedir}/serd-0/
|
||||
%{_libdir}/pkgconfig/serd-0.pc
|
||||
%{_defaultdocdir}/serd/
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user