kwin/kwin.spec

311 lines
11 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kwin
Version: 5.12.4
Release: 1mamba
Summary: KDE Frameworks 5 window manager
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
#libKF5GlobalAccelPrivate.so.5()(64bit): .so link not found
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libattica5-devel
BuildRequires: libdrm-devel
BuildRequires: libepoxy-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgbm-devel
BuildRequires: libgcc
BuildRequires: libinput-devel
BuildRequires: libkactivities5-devel
BuildRequires: libkauth-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libkdecoration-devel
BuildRequires: libkglobalaccel-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkidletime-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknewstuff-devel
BuildRequires: libknotifications-devel
BuildRequires: libkpackage-devel
BuildRequires: libkscreenlocker-devel
BuildRequires: libkservice-devel
BuildRequires: libkwayland-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libplasma-framework-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-image-devel
BuildRequires: libxcb-keysyms-devel
BuildRequires: libxcb-util-cursor-devel
BuildRequires: libxkbcommon-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRequires: breeze
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 window manager.
## remove the library block if this package does not provide library and development stuff
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/*.knsrc
%{_sysconfdir}/xdg/org_kde_kwin.categories
%{_bindir}/kwin_wayland
%{_bindir}/kwin_x11
%{_datadir}/config.kcfg/kwin*.kcfg
%{_datadir}/dbus-1/interfaces/org.kde.kwin*.xml
%{_datadir}/dbus-1/interfaces/org.kde.KWin.xml
%{_datadir}/doc/HTML/en/kcontrol/*
%{_datadir}/icons/hicolor/*/apps/kwin.png
%{_datadir}/icons/hicolor/scalable/apps/kwin.svgz
%{_datadir}/knotifications5/kwin.notifyrc
%{_datadir}/kservices5/*.desktop
%{_datadir}/kservices5/kwin/kwin4_*.desktop
%{_kde5_servicetypesdir}/kwin*.desktop
%{_datadir}/kwin/aurorae/*
#%{_datadir}/kwin/blinking-startup-fragment.glsl
%{_datadir}/kwin/decorations/kwin4_decoration_qml_plastik/*
%{_datadir}/kwin/effects/*
%{_datadir}/kwin/kcm_kwindecoration/*.qml
%{_datadir}/kwin/*.png
%{_datadir}/kwin/kcm_kwintabbox/*.png
%{_datadir}/kwin/onscreennotification/plasma/dummydata/osd.qml
%{_datadir}/kwin/onscreennotification/plasma/main.qml
%{_datadir}/kwin/outline/plasma/outline.qml
%{_datadir}/kwin/scripts/*
%{_datadir}/kwin/virtualkeyboard/*
#%{_datadir}/kwin/shaders/*
#%{_datadir}/kwin/stripTitle.js
%lang(ca) %{_datadir}/doc/HTML/ca/kcontrol
%lang(de) %{_datadir}/doc/HTML/de/kcontrol
%lang(es) %{_datadir}/doc/HTML/es/kcontrol
%lang(it) %{_datadir}/doc/HTML/it/kcontrol
%lang(nl) %{_datadir}/doc/HTML/nl/kcontrol
%lang(pt) %{_datadir}/doc/HTML/pt/kcontrol
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kcontrol
%lang(ru) %{_datadir}/doc/HTML/ru/kcontrol
%lang(sr) %{_datadir}/doc/HTML/sr/kcontrol
%lang(sr@latin) %{_datadir}/doc/HTML/sr@latin/kcontrol
#%lang(sv) %{_datadir}/doc/HTML/sv/kcontrol
%lang(uk) %{_datadir}/doc/HTML/uk/kcontrol
%{_datadir}/kwincompositing/qml/*.qml
%doc COPYING COPYING.DOC
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkwin.so.*
%{_libdir}/libkwin4_effect_builtins.so.*
%{_libdir}/libkwineffects.so.*
%{_libdir}/libkwinglutils.so.*
%{_libdir}/libkwinxrenderutils.so.*
%{_libdir}/libkdeinit5_kwin_rules_dialog.so
%{_libdir}/libkdeinit5_kwin_x11.so
%{_libdir}/qt5/plugins/kcm_*.so
%{_libdir}/qt5/plugins/org.kde.kwin.scenes/KWinScene*.so
%{_libdir}/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeKWinWaylandPrivatePlugin.so
%dir %{_libdir}/qt5/plugins/kwin
%dir %{_libdir}/qt5/plugins/kwin/effects
%dir %{_libdir}/qt5/plugins/kwin/effects/configs
%{_libdir}/qt5/plugins/kwin/effects/configs/kcm_kwin4_genericscripted.so
%{_libdir}/qt5/plugins/kwin/effects/configs/kwin_*.so
%{_libdir}/qt5/plugins/kwincompositing.so
%dir %{_libdir}/qt5/plugins/org.kde.kdecoration2
%{_libdir}/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
%dir %{_libdir}/qt5/plugins/org.kde.kglobalaccel5.platforms
%{_libdir}/qt5/plugins/org.kde.kglobalaccel5.platforms/KF5GlobalAccelPrivateKWin.so
%dir %{_libdir}/qt5/plugins/org.kde.kwin.waylandbackends
%{_libdir}/qt5/plugins/org.kde.kwin.waylandbackends/KWinWayland*.so
%dir %{_libdir}/qt5/plugins/org.kde.kwin.platforms
%{_libdir}/qt5/plugins/org.kde.kwin.platforms/KWinX11Platform.so
%{_libdir}/qt5/plugins/platforms/KWinQpaPlugin.so
%{_libdir}/qt5/plugins/kpackage/packagestructure/kwin_packagestructure_*.so
%{_libdir}/qt5/qml/org/kde/kwin/decoration/*
%{_libdir}/qt5/qml/org/kde/kwin/decorations/plastik/*
%{_libdir}/qt5/qml/org/kde/kwin/private/kdecoration/*
%{_libexecdir}/kwin_killer_helper
%{_libexecdir}/kwin_rules_dialog
%{_libexecdir}/org_kde_kwin_xclipboard_syncer
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/cmake/KWinDBusInterface/KWinDBusInterfaceConfig.cmake
%{_libdir}/kconf_update_bin/kwin5_update_default_rules
%{_libdir}/libkwin4_effect_builtins.so
%{_libdir}/libkwineffects.so
%{_libdir}/libkwinglutils.so
%{_libdir}/libkwinxrenderutils.so
%changelog
* Mon Apr 09 2018 Automatic Build System <autodist@mambasoft.it> 5.12.4-1mamba
- automatic version update by autodist
* Sat Apr 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.3-2mamba
- move runtime required libraries from -devel to libkwin package ( libkdeinit5_kwin_rules_dialog.so , libkdeinit5_kwin_x11.so )
* Tue Mar 06 2018 Automatic Build System <autodist@mambasoft.it> 5.12.3-1mamba
- automatic version update by autodist
* Wed Feb 21 2018 Automatic Build System <autodist@mambasoft.it> 5.12.2-1mamba
- automatic version update by autodist
* Wed Feb 14 2018 Automatic Build System <autodist@mambasoft.it> 5.12.1-1mamba
- automatic version update by autodist
* Mon Feb 12 2018 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba
- automatic version update by autodist
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.4-1mamba
- automatic version update by autodist
* Tue Nov 07 2017 Automatic Build System <autodist@mambasoft.it> 5.11.3-1mamba
- automatic version update by autodist
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic version update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
- automatic version update by autodist
* Thu Oct 12 2017 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Sat Sep 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
- update to 5.10.5
* Tue Mar 21 2017 Automatic Build System <autodist@mambasoft.it> 5.9.4-1mamba
- automatic version update by autodist
* Fri Mar 03 2017 Automatic Build System <autodist@mambasoft.it> 5.9.3-1mamba
- automatic version update by autodist
* Tue Feb 07 2017 Automatic Build System <autodist@mambasoft.it> 5.9.1-1mamba
- automatic version update by autodist
* Sun Feb 05 2017 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Wed Dec 28 2016 Automatic Build System <autodist@mambasoft.it> 5.8.5-1mamba
- automatic version update by autodist
* Tue Nov 22 2016 Automatic Build System <autodist@mambasoft.it> 5.8.4-1mamba
- automatic version update by autodist
* Tue Nov 01 2016 Automatic Build System <autodist@mambasoft.it> 5.8.3-1mamba
- automatic version update by autodist
* Tue Oct 18 2016 Automatic Build System <autodist@mambasoft.it> 5.8.2-1mamba
- automatic version update by autodist
* Tue Sep 20 2016 Automatic Build System <autodist@mambasoft.it> 5.7.5-1mamba
- automatic version update by autodist
* Tue Aug 30 2016 Automatic Build System <autodist@mambasoft.it> 5.7.4-1mamba
- automatic version update by autodist
* Tue Aug 02 2016 Automatic Build System <autodist@mambasoft.it> 5.7.3-1mamba
- automatic version update by autodist
* Wed Jul 20 2016 Automatic Build System <autodist@mambasoft.it> 5.7.2-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 5.7.1-1mamba
- automatic version update by autodist
* Sat Jul 09 2016 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Tue Jun 14 2016 Automatic Build System <autodist@mambasoft.it> 5.6.5-1mamba
- automatic version update by autodist
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 5.6.4-1mamba
- automatic version update by autodist
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 5.6.3-1mamba
- automatic version update by autodist
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 5.5.5-1mamba
- automatic version update by autodist
* Wed Jan 27 2016 Automatic Build System <autodist@mambasoft.it> 5.5.4-1mamba
- automatic version update by autodist
* Thu Jan 07 2016 Automatic Build System <autodist@mambasoft.it> 5.5.3-1mamba
- automatic version update by autodist
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.2-1mamba
- package created using the webbuild interface