Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d206d24ba3 |
3 changed files with 21 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,3 +6,4 @@
|
||||||
/serd-0.22.0.tar.bz2
|
/serd-0.22.0.tar.bz2
|
||||||
/serd-0.26.0.tar.bz2
|
/serd-0.26.0.tar.bz2
|
||||||
/serd-0.28.0.tar.bz2
|
/serd-0.28.0.tar.bz2
|
||||||
|
/serd-0.30.0.tar.bz2
|
||||||
|
|
|
||||||
24
serd.spec
24
serd.spec
|
|
@ -1,8 +1,8 @@
|
||||||
%global maj 0
|
%global maj 0
|
||||||
|
|
||||||
Name: serd
|
Name: serd
|
||||||
Version: 0.28.0
|
Version: 0.30.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A lightweight C library for RDF syntax
|
Summary: A lightweight C library for RDF syntax
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
|
|
@ -12,7 +12,8 @@ Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: python
|
BuildRequires: python2
|
||||||
|
BuildRequires: python2-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
@ -42,9 +43,8 @@ This package contains the headers and development libraries for %{name}.
|
||||||
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
%set_build_flags
|
||||||
export LDFLAGS="%{__global_ldflags}"
|
%{__python2} waf configure \
|
||||||
./waf configure \
|
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
|
|
@ -52,18 +52,16 @@ export LDFLAGS="%{__global_ldflags}"
|
||||||
--docdir=%{_docdir} \
|
--docdir=%{_docdir} \
|
||||||
--test \
|
--test \
|
||||||
--docs
|
--docs
|
||||||
./waf build -v %{?_smp_mflags}
|
%{__python2} waf build -v %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
DESTDIR=%{buildroot} ./waf install
|
DESTDIR=%{buildroot} %{__python2} waf install
|
||||||
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
||||||
# Move devel docs to the right directory
|
# Move devel docs to the right directory
|
||||||
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
|
||||||
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
@ -80,6 +78,10 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n
|
||||||
%{_includedir}/%{name}-%{maj}/
|
%{_includedir}/%{name}-%{maj}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 28 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.0-1
|
||||||
|
- Update to 0.30.0
|
||||||
|
- Minor spec cleanup
|
||||||
|
|
||||||
* Fri Aug 11 2017 Kalev Lember <klember@redhat.com> - 0.28.0-2
|
* Fri Aug 11 2017 Kalev Lember <klember@redhat.com> - 0.28.0-2
|
||||||
- Bump and rebuild for an rpm signing issue
|
- Bump and rebuild for an rpm signing issue
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (serd-0.28.0.tar.bz2) = b25cc70af17ff821812ab2a70c2812c1713ff811a0f18fb5d5c54f3b67e0c68293aabedfacd687afe6b7acdfd81602ef81764d7e11bc0d933de738bc6d4fce3e
|
SHA512 (serd-0.30.0.tar.bz2) = 23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue