|
|
@ -12,7 +12,7 @@
|
|
|
|
Name: kdecoration
|
|
|
|
Name: kdecoration
|
|
|
|
Summary: A plugin-based library to create window decorations
|
|
|
|
Summary: A plugin-based library to create window decorations
|
|
|
|
Version: 5.12.3
|
|
|
|
Version: 5.12.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2
|
|
|
|
License: LGPLv2
|
|
|
|
URL: https://cgit.kde.org/%{name}.git
|
|
|
|
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
|
|
|
|
# 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
|
|
|
|
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}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
|
|
|
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -81,8 +81,7 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING.LIB
|
|
|
|
%license COPYING.LIB
|
|
|
@ -99,6 +98,9 @@ make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.12.3-1
|
|
|
|
- 5.12.3
|
|
|
|
- 5.12.3
|
|
|
|
|
|
|
|
|
|
|
|