use %make_build %ldconfig_scriptlets

epel9
Rex Dieter 7 years ago
parent fe03db3356
commit d279c4c2f4

13
.gitignore vendored

@ -1,14 +1 @@
/kdecoration-5.9.5.tar.xz
/kdecoration-5.10.3.tar.xz
/kdecoration-5.10.4.tar.xz
/kdecoration-5.10.5.tar.xz
/kdecoration-5.11.1.tar.xz
/kdecoration-5.11.2.tar.xz
/kdecoration-5.11.3.tar.xz
/kdecoration-5.11.4.tar.xz
/kdecoration-5.11.5.tar.xz
/kdecoration-5.11.95.tar.xz
/kdecoration-5.12.0.tar.xz
/kdecoration-5.12.1.tar.xz
/kdecoration-5.12.2.tar.xz
/kdecoration-5.12.3.tar.xz

@ -12,7 +12,7 @@
Name: kdecoration
Summary: A plugin-based library to create window decorations
Version: 5.12.3
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2
URL: https://cgit.kde.org/%{name}.git
@ -56,15 +56,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
# Cleanup includes mess, install everything into %%{_kf5_includedir}/KDecoration2
sed -i "s/set(KDECORATION2_INCLUDEDIR \"\${CMAKE_INSTALL_INCLUDEDIR}\/KDecoration2\")/set(KDECORATION2_INCLUDEDIR \"\${KF5_INCLUDE_INSTALL_DIR}\/KDecoration2\")/" CMakeLists.txt
%build
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
@ -81,8 +81,7 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING.LIB
@ -99,6 +98,9 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
%changelog
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.12.3-2
- use %%make_build %%ldconfig_scriptlets
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.12.3-1
- 5.12.3

Loading…
Cancel
Save