forked from pool/lxqt-globalkeys
Accepting request 287404 from X11:lxde
- Updated %build and %install to use cmake macros (forwarded request 287063 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-globalkeys?expand=0&rev=2
This commit is contained in:
parent
101d88e1b3
commit
b717d77085
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 20:03:54 UTC 2015 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Updated %build and %install to use cmake macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 9 19:33:20 UTC 2015 - sfalken@opensuse.org
|
Mon Feb 9 19:33:20 UTC 2015 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
@ -34,8 +34,8 @@ BuildRequires: pkgconfig(Qt5UiTools)
|
|||||||
BuildRequires: pkgconfig(lxqt) >= 0.9.0
|
BuildRequires: pkgconfig(lxqt) >= 0.9.0
|
||||||
Requires(pre): desktop-file-utils
|
Requires(pre): desktop-file-utils
|
||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Obsoletes: lxqt-globalkeys-qt5 < %{version}
|
Obsoletes: lxqt-globalkeys-qt5 < %{version}
|
||||||
Provides: lxqt-globalkeys-qt5 = %{version}
|
Provides: lxqt-globalkeys-qt5 = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -79,23 +79,11 @@ Translation files for lxqt-globalkeys
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
%cmake
|
||||||
pushd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
|
|
||||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
|
|
||||||
%ifarch x86_64 aarch64 ppc64 ppc64le
|
|
||||||
-DLIB_SUFFIX=64 \
|
|
||||||
%endif
|
|
||||||
..
|
|
||||||
%__make %{?_smp_mflags}
|
%__make %{?_smp_mflags}
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
%cmake_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
popd
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
Loading…
Reference in New Issue
Block a user