From 6243e7e06290d204928a4b38f41596bcd657edd2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 18:00:15 +0100 Subject: [PATCH] automatic version update by autodist [release 0.12.0-1mamba;Sat Mar 02 2013] --- README.md | 2 ++ sord.spec | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 sord.spec diff --git a/README.md b/README.md index 5f10c96..dbb6cf0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # sord +Sord is a lightweight C library for storing RDF data in memory. + diff --git a/sord.spec b/sord.spec new file mode 100644 index 0000000..77c282a --- /dev/null +++ b/sord.spec @@ -0,0 +1,91 @@ +Name: sord +Version: 0.12.0 +Release: 1mamba +Summary: A lightweight C library for storing RDF data in memory +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://drobilla.net/software/sord/ +Source: http://download.drobilla.net/sord-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcre-devel +BuildRequires: libserd-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Sord is a lightweight C library for storing RDF data in memory. + +%package -n lib%{name} +Group: System/Libraries +Summary: A lightweight C library for storing RDF data in memory + +%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}/sord_validate +%{_bindir}/sordi +%{_mandir}/man1/sord_validate.1.gz +%{_mandir}/man1/sordi.1.gz + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libsord-0.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/sord-0 +%dir %{_includedir}/sord-0/sord +%{_includedir}/sord-0/sord/sord.h +%{_includedir}/sord-0/sord/sordmm.hpp +%{_libdir}/libsord-0.so +%{_libdir}/pkgconfig/sord-0.pc +%doc NEWS README + + +%changelog +* Sat Mar 02 2013 Automatic Build System 0.12.0-1mamba +- automatic version update by autodist + +* Thu Jan 31 2013 Silvan Calarco 0.10.4-1mamba +- package created by silvan using the webbuild interface