package created by silvan using the webbuild interface [release 0.18.2-1mamba;Thu Jan 31 2013]
This commit is contained in:
parent
fe7ce02755
commit
0a8f17b30d
@ -1,2 +1,5 @@
|
|||||||
# serd
|
# serd
|
||||||
|
|
||||||
|
Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
|
||||||
|
Serd is not intended to be a swiss-army knife of RDF syntax, but rather is suited to resource limited or performance critical applications (e.g. converting many gigabytes of NTriples to Turtle), or situations where a simple reader/writer with minimal dependencies is ideal (e.g. in LV2 implementations or embedded applications).
|
||||||
|
|
||||||
|
84
serd.spec
Normal file
84
serd.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
Name: serd
|
||||||
|
Version: 0.18.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://drobilla.net/software/serd/
|
||||||
|
Source: http://download.drobilla.net/serd-%{version}.tar.bz2
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
|
||||||
|
Serd is not intended to be a swiss-army knife of RDF syntax, but rather is suited to resource limited or performance critical applications (e.g. converting many gigabytes of NTriples to Turtle), or situations where a simple reader/writer with minimal dependencies is ideal (e.g. in LV2 implementations or embedded applications).
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
## note: you can add this requirement if .pc files are provided by this package
|
||||||
|
#Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./waf configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir}
|
||||||
|
|
||||||
|
./waf %{?_smp_mflags} build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
./waf install --destdir=%{buildroot}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/serdi
|
||||||
|
%{_mandir}/man1/serdi.1.gz
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libserd-0.so.*
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/serd-0
|
||||||
|
%dir %{_includedir}/serd-0/serd
|
||||||
|
%{_includedir}/serd-0/serd/serd.h
|
||||||
|
%{_libdir}/libserd-0.so
|
||||||
|
%{_libdir}/pkgconfig/serd-0.pc
|
||||||
|
%doc NEWS README
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jan 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.2-1mamba
|
||||||
|
- package created by silvan using the webbuild interface
|
Loading…
Reference in New Issue
Block a user