You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
146 lines
3.8 KiB
146 lines
3.8 KiB
Name: kdecoration
|
|
Summary: A plugin-based library to create window decorations
|
|
Version: 5.5.4
|
|
Release: 2%{?dist}
|
|
|
|
License: LGPLv2
|
|
URL: https://projects.kde.org/projects/kde/workspace/kdecoration
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
%if %{revision} >= 50
|
|
%global stable unstable
|
|
%else
|
|
%global stable stable
|
|
%endif
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package devel
|
|
Summary: Developer files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
%build
|
|
# 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
|
|
|
|
mkdir %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake_kf5} ..
|
|
popd
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
# create/own plugin dir
|
|
mkdir -p %{buildroot}%{_kf5_qtplugindir}/org.kde.kdecoration2/
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%license COPYING.LIB
|
|
%{_kf5_libdir}/libkdecorations2.so.*
|
|
%{_kf5_libdir}/libkdecorations2private.so.*
|
|
%dir %{_kf5_qtplugindir}/org.kde.kdecoration2/
|
|
|
|
%files devel
|
|
%{_kf5_libdir}/libkdecorations2.so
|
|
%{_kf5_libdir}/libkdecorations2private.so
|
|
%{_kf5_libdir}/cmake/KDecoration2/
|
|
%{_kf5_includedir}/KDecoration2/
|
|
%{_kf5_includedir}/kdecoration2_version.h
|
|
|
|
|
|
%changelog
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
|
|
- Plasma 5.5.4
|
|
|
|
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
|
|
- Plasma 5.5.3
|
|
|
|
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.2-1
|
|
- 5.5.2
|
|
|
|
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
|
|
- Plasma 5.5.1
|
|
|
|
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
|
|
- Plasma 5.5.0
|
|
|
|
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
|
|
- Plasma 5.4.95
|
|
|
|
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
|
|
- Plasma 5.4.3
|
|
|
|
* 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
|
|
- 5.4.2
|
|
|
|
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
|
|
- 5.4.1
|
|
|
|
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
- Plasma 5.4.0
|
|
|
|
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
|
|
- Plasma 5.3.95
|
|
|
|
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
|
|
- Plasma 5.3.2
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
|
|
- Plasma 5.3.1
|
|
|
|
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
|
|
- Plasma 5.3.0
|
|
|
|
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
|
|
- Plasma 5.2.95
|
|
|
|
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
|
|
- Plasma 5.2.2
|
|
|
|
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
|
|
- Rebuild (GCC 5)
|
|
|
|
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
|
|
- Plasma 5.2.1
|
|
|
|
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
|
|
- Plasma 5.2.0
|
|
|
|
* Tue Jan 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-2.beta
|
|
- improved sed macro
|
|
|
|
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
|
|
- Plasma 5.1.95 Beta
|