Compare commits

..

No commits in common. "f38" and "master" have entirely different histories.
f38 ... master

3 changed files with 35 additions and 73 deletions

5
.gitignore vendored
View File

@ -5,8 +5,3 @@
/sord-0.12.2.tar.bz2
/sord-0.16.0.tar.bz2
/sord-0.16.2.tar.bz2
/sord-0.16.4.tar.bz2
/sord-0.16.6.tar.bz2
/sord-0.16.8.tar.bz2
/sord-0.16.10.tar.bz2
/sord-0.16.14.tar.xz

101
sord.spec
View File

@ -1,19 +1,24 @@
%global maj 0
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sord
Version: 0.16.14
Release: 1%{?dist}
Version: 0.16.2
Release: 4%{?dist}
Summary: A lightweight Resource Description Framework (RDF) C library
License: ISC
URL: https://drobilla.net/software/%{name}.html
Source0: https://download.drobilla.net/%{name}-%{version}.tar.xz
URL: http://drobilla.net/software/sord/
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
BuildRequires: boost-devel
BuildRequires: doxygen
BuildRequires: serd-devel >= 0.30.10
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: serd-devel >= 0.30.0
BuildRequires: gcc
BuildRequires: meson
BuildRequires: pcre-devel
BuildRequires: gcc-c++
%description
%{name} is a lightweight C library for storing Resource Description
@ -32,27 +37,36 @@ Framework (RDF) data in memory.
This package contains the headers and development libraries for %{name}.
%prep
%autosetup -p1
%setup -q
# we'll run ldconfig, and add our optflags
sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
-e "s|cflags = [ '-DSORD_INTERNAL' ]\
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
%build
%meson
%meson_build
%set_build_flags
export LINKFLAGS="%{__global_ldflags}"
%{__python2} waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
--docdir=%{_pkgdocdir} \
--test \
--docs
%{__python2} waf build -v %{?_smp_mflags}
%install
%meson_install
# Move devel docs to the right directory
install -d %{buildroot}%{_docdir}/%{name}
mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name}
%check
%meson_test
DESTDIR=%{buildroot} %{__python2} waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
install -pm 644 AUTHORS NEWS README COPYING %{buildroot}%{_pkgdocdir}
%files
%{_pkgdocdir}
%exclude %{_pkgdocdir}/%{name}-%{maj}/
%exclude %{_pkgdocdir}/COPYING
%license COPYING
%{_libdir}/lib%{name}-%{maj}.so.%{maj}*
%{_libdir}/lib%{name}-%{maj}.so.*
%{_bindir}/sordi
%{_bindir}/sord_validate
%{_mandir}/man1/%{name}*.1*
@ -62,56 +76,9 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj} %{buildroot}%{_docdir}/%{name}
%{_libdir}/lib%{name}-%{maj}.so
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
%{_includedir}/%{name}-%{maj}/
%{_mandir}/man3/%{name}*.3*
%changelog
* Thu Feb 2 2023 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.14-1
- Update to 0.16.14
- Switch to meson build
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.10-1
- Update to 0.16.10
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun Feb 28 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.8-1
- Update to 0.16.8
- Fix a potential BTree crash with GCC 10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.6-1
- Update to 0.16.6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-5
- Rebuilt for possible GCC 10.1 bug on power64, arm and s390
* Wed May 27 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-4
- Rebuilt with GCC 10.1
* Sun Mar 15 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-3
- Rebuilt for possible GCC 10 bug on power64 and arm
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Dec 06 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.16.4-1
- Update to 0.16.4
- Use python3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (sord-0.16.14.tar.xz) = f6f254518d5dccece7975529b1fcfd552fd9c37e49dc7e9f8a46756b85e476dac064a39af42bfb3078e999e75d1aa75dcc30ec91e08753defa9363adafdfd3bd
SHA512 (sord-0.16.2.tar.bz2) = fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698