automatic version update by autodist [release 0.12.0-1mamba;Sat Mar 02 2013]

This commit is contained in:
Automatic Build System 2024-01-05 18:00:15 +01:00
parent db9a6fabaf
commit 6243e7e062
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sord # sord
Sord is a lightweight C library for storing RDF data in memory.

91
sord.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.4-1mamba
- package created by silvan using the webbuild interface