]> git.pld-linux.org Git - packages/lv2.git/commitdiff
don't generate soname provides for plugins, auto/th/lv2-1.14.0-2
authorJacek Konieczny <jajcus@jajcus.net>
Wed, 12 Oct 2016 18:21:32 +0000 (20:21 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Wed, 12 Oct 2016 18:21:32 +0000 (20:21 +0200)
pass CC and CFLAGS to configure

lv2.spec

index a3cfc66c74a536e151eda89824fb4a8c5dc71f52..447761982a7e3f86149b7cb31b08f76c81ce1387 100644 (file)
--- a/lv2.spec
+++ b/lv2.spec
@@ -17,7 +17,7 @@ Summary:      LV2 (LADSPA Version 2) Audio Plugin Standard
 Summary(pl.UTF-8):     LV2 (LADSPA Version 2) - standard wtyczek dźwiękowych
 Name:          lv2
 Version:       1.14.0
-Release:       1
+Release:       2
 License:       ISC
 Group:         Libraries
 Source0:       http://lv2plug.in/spec/%{name}-%{version}.tar.bz2
@@ -58,6 +58,8 @@ Provides:     lv2-urid = %{lv2_urid_ver}
 Obsoletes:     lv2-urid < %{lv2_urid_ver}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _noautoprovfiles        %{_libdir}/lv2
+
 %description
 LV2 is a standard for audio systems. It defines a minimal yet
 extensible C API for plugin code and a format for plugin "bundles".
@@ -142,6 +144,11 @@ Przykładowa wtyczka dla LV2: prosty oscyoloskop.
 %setup -q
 
 %build
+CC="%{__cc}" \
+CXX="%{__cxx}" \
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+LDFLAGS="%{rpmldflags}" \
 ./waf configure \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
This page took 0.178315 seconds and 4 git commands to generate.