forked from pool/libredwg
feed through spec-beautifier
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libredwg?expand=0&rev=26
This commit is contained in:
parent
54f3a52825
commit
a67b920cad
@ -29,7 +29,7 @@ Source: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz
|
||||
Source2: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.xz.sig
|
||||
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%name.keyring
|
||||
Source4: %name-rpmlintrc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkg-config
|
||||
|
||||
%description
|
||||
GNU LibreDWG is a C library to handle DWG files. It can replace the
|
||||
@ -75,13 +75,12 @@ OpenDWG libraries. DWG is the native file format of AutoCAD.
|
||||
# No management of SO version despite ABI breaking changes:
|
||||
# Force-add some symvers so RPM can produce meaningful deps.
|
||||
echo 'V_%version { global: *; };' >src/sv.sym
|
||||
%configure \
|
||||
--disable-static
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags} libredwg_la_LDFLAGS=-Wl,-version-script,sv.sym libredwg_la_LIBADD=-lm
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find "%buildroot" -type f -name "*.la" -delete -print
|
||||
|
||||
%post tools
|
||||
%install_info --info-dir="%_infodir" "%_infodir/LibreDWG.info*.gz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user