forked from pool/libqt5xdg
Accepting request 287060 from home:sfalken:branches:X11:lxde
- Changed %build and %install to use cmake macros OBS-URL: https://build.opensuse.org/request/show/287060 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/libqt5xdg?expand=0&rev=10
This commit is contained in:
parent
131c892810
commit
7c5f5b13b7
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 19:53:39 UTC 2015 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Changed %build and %install to use cmake macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 9 16:27:11 UTC 2015 - sfalken@opensuse.org
|
Mon Feb 9 16:27:11 UTC 2015 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
@ -58,19 +58,11 @@ qtxdg libraries for development
|
|||||||
%setup -q -n libqtxdg-%{version}
|
%setup -q -n libqtxdg-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
%cmake
|
||||||
pushd build
|
|
||||||
cmake \
|
|
||||||
-DUSE_QT5=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
|
||||||
..
|
|
||||||
%__make %{?_smp_mflags}
|
%__make %{?_smp_mflags}
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
%cmake_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
popd
|
|
||||||
%fdupes -s %{buildroot}/%{_datadir}/locale
|
%fdupes -s %{buildroot}/%{_datadir}/locale
|
||||||
|
|
||||||
%post -n libQt5Xdg1 -p /sbin/ldconfig
|
%post -n libQt5Xdg1 -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user