diff options
author | Mike DePaulo <mikedep333@gmail.com> | 2017-09-22 15:32:31 -0400 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-14 00:37:38 +0100 |
commit | f8b2a04e0a2d6edeafc8a604eed7a82170581f03 (patch) | |
tree | 3b4363b661274e46156b90df60e8a3f19faeb7c1 | |
parent | 5000ded309f7653aa90a2c3450b645f3b506e002 (diff) | |
download | nx-libs-f8b2a04e0a2d6edeafc8a604eed7a82170581f03.tar.gz nx-libs-f8b2a04e0a2d6edeafc8a604eed7a82170581f03.tar.bz2 nx-libs-f8b2a04e0a2d6edeafc8a604eed7a82170581f03.zip |
nx-libs.spec: Add missing BuildRequires and fix paths to files.
Fixes ArcticaProject/nx-libs#516.
-rw-r--r-- | nx-libs.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 68bec6397..1d6d96dae 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -24,8 +24,10 @@ URL: http://github.com/ArcticaProject/nx-libs/ Source0: %{name}-%{version}.tar.gz BuildRequires: autoconf >= 2.13 +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libjpeg-devel +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: imake @@ -426,6 +428,9 @@ rm -r %{buildroot}%{_includedir}/nx-X11/extensions/XK*.h rm -r %{buildroot}%{_includedir}/nx-X11/extensions/*Xv*.h rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans +#Remove our shared libraries' .la files before wrapping up the packages +rm %{_libdir}/*.la + %if 0%{?fdupes:1} %fdupes %{buildroot}%{_prefix} %endif @@ -445,8 +450,8 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans %dir %{_libdir}/nx %dir %{_datadir}/nx %{_datadir}/nx/SecurityPolicy -%{_datadir}/nx/XErrorDB -%{_datadir}/nx/Xcms.txt +%{_datadir}/nx/X11/XErrorDB +%{_datadir}/nx/X11/Xcms.txt %files -n libNX_X11-6 %defattr(-,root,root) @@ -455,6 +460,7 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans %files -n libNX_X11-devel %defattr(-,root,root) %{_libdir}/libNX_X11.so +%{_libdir}/pkgconfig/nx-x11.pc %dir %{_includedir}/nx %dir %{_includedir}/nx-X11 %{_includedir}/nx-X11/ImUtil.h |