[serd] Initial import

Brendan Jones bsjones at fedoraproject.org
Sun Jan 15 23:19:16 UTC 2012


commit 852d0a3c3c5476cd2a78368f5a3c8ae599b0e371
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date:   Mon Jan 16 00:18:59 2012 +0100

    Initial import

 .gitignore |    1 +
 serd.spec  |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ac38702 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/serd-0.5.0.tar.bz2
diff --git a/serd.spec b/serd.spec
new file mode 100644
index 0000000..2dbf6b8
--- /dev/null
+++ b/serd.spec
@@ -0,0 +1,86 @@
+%global maj 0
+
+Name:           serd
+Version:        0.5.0
+Release:        3%{?dist}
+Summary:        A lightweight C library for RDF syntax
+
+Group:          System Environment/Libraries
+License:        ISC
+URL:            http://drobilla.net/software/serd/
+Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
+
+BuildRequires:  doxygen
+BuildRequires:  graphviz
+BuildRequires:  glib2-devel
+BuildRequires:  python
+
+%description
+%{name} 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).is a library to make the use of 
+LV2 plugins as simple as possible for applications. 
+
+%package devel
+Summary:        Development libraries and headers for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{_isa} = %{version}-%{release}
+
+%description devel
+%{name} is a lightweight C library for RDF syntax which supports reading and 
+writing Turtle and NTriples.
+
+This package contains the headers and development libraries for %{name}.
+
+%prep
+%setup -q
+# we'll run ldconfig
+sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
+
+%build
+export CFLAGS="%{optflags}"
+./waf configure \
+    --prefix=%{_prefix} \
+    --libdir=%{_libdir} \
+    --mandir=%{_mandir} \
+    --datadir=%{_datadir} \
+    --docdir=%{_docdir}/%{name}-devel-%{version} \
+    --test \
+    --docs 
+./waf build -v %{?_smp_mflags}
+
+%install
+DESTDIR=%{buildroot} ./waf install
+chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS ChangeLog README COPYING
+%{_libdir}/lib%{name}-%{maj}.so.*
+%{_bindir}/serdi
+%{_mandir}/man1/serdi.1*
+
+%files devel
+%{_libdir}/lib%{name}-%{maj}*.so
+%{_libdir}/pkgconfig/%{name}*.pc
+%{_includedir}/%{name}-%{maj}/
+%{_docdir}/%{name}-devel-%{version}
+%{_mandir}/man3/*.3*
+
+%changelog
+* Sat Jan 14 2012 Brendan Jones <brendan.jones.it at gmail.com> - 0.5.0-3
+- Move man1 file, furtherqualify wildcards. 
+
+* Sat Jan 14 2012 Brendan Jones <brendan.jones.it at gmail.com> - 0.5.0-2
+- License to ISC, remove tabs
+
+* Fri Dec 23 2011 Brendan Jones <brendan.jones.it at gmail.com> - 0.5.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..c7401d8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+33688d9ad0775647124d1e86dc4cf387  serd-0.5.0.tar.bz2


More information about the scm-commits mailing list