|
|
@ -14,6 +14,7 @@ URL: https://projects.kde.org/projects/kde/workspace/kdecoration
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
@ -26,7 +27,6 @@ Requires: kf5-filesystem
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Developer files for %{name}
|
|
|
|
Summary: Developer files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
@ -39,7 +39,7 @@ 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
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -50,22 +50,31 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# create/own plugin dir
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_kf5_qtplugindir}/org.kde.kdecoration2/
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING.LIB
|
|
|
|
%license COPYING.LIB
|
|
|
|
%{_kf5_libdir}/libkdecorations2.so.*
|
|
|
|
%{_kf5_libdir}/libkdecorations2.so.*
|
|
|
|
%{_kf5_libdir}/libkdecorations2private.so.*
|
|
|
|
%{_kf5_libdir}/libkdecorations2private.so.*
|
|
|
|
|
|
|
|
%dir %{_kf5_qtplugindir}/org.kde.kdecoration2/
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_libdir}/libkdecorations2.so
|
|
|
|
%{_kf5_libdir}/libkdecorations2.so
|
|
|
|
%{_kf5_libdir}/libkdecorations2private.so
|
|
|
|
%{_kf5_libdir}/libkdecorations2private.so
|
|
|
|
%{_kf5_libdir}/cmake/KDecoration2
|
|
|
|
%{_kf5_libdir}/cmake/KDecoration2/
|
|
|
|
%{_kf5_includedir}/KDecoration2
|
|
|
|
%{_kf5_includedir}/KDecoration2/
|
|
|
|
%{_kf5_includedir}/kdecoration2_version.h
|
|
|
|
%{_kf5_includedir}/kdecoration2_version.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Oct 14 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-2
|
|
|
|
|
|
|
|
- .spec cosmetics
|
|
|
|
|
|
|
|
- own %%{_kf5_qtplugindir}/org.kde.kdecoration2/
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
|
|
|
|
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
|
|
|
|
- 5.4.2
|
|
|
|
- 5.4.2
|
|
|
|
|
|
|
|
|
|
|
|