forked from pool/graphene
Accepting request 445396 from GNOME:Factory
1 OBS-URL: https://build.opensuse.org/request/show/445396 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphene?expand=0&rev=2
This commit is contained in:
commit
b682abcf67
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 14:13:57 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Use meson provided macros to build instead of carrying the long
|
||||
meson command lines.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 28 00:01:10 UTC 2016 - jengelh@inai.de
|
||||
|
||||
|
@ -84,28 +84,14 @@ sed -i "s/©/(c)/" src/graphene-version.h.in
|
||||
# See gh#ebassie/graphene#82
|
||||
export SUSE_ASNEEDED=0
|
||||
%endif
|
||||
mkdir build
|
||||
pushd build
|
||||
meson \
|
||||
--prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--datadir=%{_datadir} \
|
||||
--libdir=%{_libdir} \
|
||||
--includedir=%{_includedir} \
|
||||
--libexecdir=%{_libexecdir} \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--mandir=%{_mandir} \
|
||||
--default-library=shared \
|
||||
.. # sources are in the parent directory
|
||||
ninja %{?_smp_mflags}
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
pushd build
|
||||
DESTDIR=%{buildroot} ninja %{?_smp_mflags} install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
pushd build
|
||||
ninja test
|
||||
%meson_test
|
||||
|
||||
%post -n libgraphene-1_0-0 -p /sbin/ldconfig
|
||||
%postun -n libgraphene-1_0-0 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user