commit 53c3816714f7e28709220fb4e5738b741d814927c177102e2d262bcddedc2f4e Author: Hrvoje Senjan Date: Sun May 4 02:11:58 2014 +0000 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdelibs4support?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/kdelibs4support.spec b/kdelibs4support.spec new file mode 100644 index 0000000..db10b93 --- /dev/null +++ b/kdelibs4support.spec @@ -0,0 +1,244 @@ +# +# spec file for package kdelibs4support +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define lname libKF5KDELibs4Support5 +Name: kdelibs4support +Version: 4.98.0 +Release: 0 +BuildRequires: cmake >= 2.8.12 +BuildRequires: extra-cmake-modules >= 0.0.12 +BuildRequires: fdupes +BuildRequires: kbookmarks-devel >= %{_kf5_version} +BuildRequires: kcompletion-devel >= %{_kf5_version} +BuildRequires: kconfig-devel >= %{_kf5_version} +BuildRequires: kconfigwidgets-devel >= %{_kf5_version} +BuildRequires: kcrash-devel >= %{_kf5_version} +BuildRequires: kdbusaddons-devel >= %{_kf5_version} +BuildRequires: kdesignerplugin-devel >= %{_kf5_version} +BuildRequires: kdoctools-devel >= %{_kf5_version} +BuildRequires: kf5-filesystem +BuildRequires: kglobalaccel-devel >= %{_kf5_version} +BuildRequires: kguiaddons-devel >= %{_kf5_version} +BuildRequires: ki18n-devel >= %{_kf5_version} +BuildRequires: kiconthemes-devel >= %{_kf5_version} +BuildRequires: kio-devel >= %{_kf5_version} +BuildRequires: kitemviews-devel >= %{_kf5_version} +BuildRequires: knotifications-devel >= %{_kf5_version} +BuildRequires: kparts-devel >= %{_kf5_version} +BuildRequires: kservice-devel >= %{_kf5_version} +BuildRequires: ktextwidgets-devel >= %{_kf5_version} +BuildRequires: kunitconversion-devel >= %{_kf5_version} +BuildRequires: kwidgetsaddons-devel >= %{_kf5_version} +BuildRequires: kwindowsystem-devel >= %{_kf5_version} +BuildRequires: kxmlgui-devel >= %{_kf5_version} +BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 +BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Designer) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 +BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0 +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sm) +Provides: kde4support = %{version} +Obsoletes: kde4support < %{version} +Summary: Code and utilities to ease the transition to KDE Frameworks 5 +License: LGPL-2.1+ +Group: System/GUI/KDE +Url: http://www.kde.org +Source0: kdelibs4support-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package includes CMake macros and C++ +classes whose functionality has been replaced by code in CMake, Qt and +other frameworks. + +Code should aim to port away from this framework eventually. The API +documentation of the classes in this framework and the notes at + should help with +this. + +Note that some of the classes in this framework, especially +KStandardDirs, may not work correctly unless any libraries and other +software using the KDE4 Support framework are installed to the same +location as KDELibs4Support, although it may be sufficient to set the +KDEDIRS environment variable correctly. + +%package -n kssl +Summary: Code and utilities to ease the transition to KDE Frameworks 5 +License: GPL-2.0+ +Group: System/GUI/KDE + +%description -n kssl +This package includes CMake macros and C++ +classes whose functionality has been replaced by code in CMake, Qt and +other frameworks. + +Code should aim to port away from this framework eventually. The API +documentation of the classes in this framework and the notes at + should help with +this. + +Note that some of the classes in this framework, especially +KStandardDirs, may not work correctly unless any libraries and other +software using the KDE4 Support framework are installed to the same +location as KDELibs4Support, although it may be sufficient to set the +KDEDIRS environment variable correctly. + +%package -n %lname +Summary: Code and utilities to ease the transition to KDE Frameworks 5 +License: LGPL-2.1+ +Group: System/GUI/KDE + +%description -n %lname +This package includes CMake macros and C++ +classes whose functionality has been replaced by code in CMake, Qt and +other frameworks. + +Code should aim to port away from this framework eventually. The API +documentation of the classes in this framework and the notes at + should help with +this. + +Note that some of the classes in this framework, especially +KStandardDirs, may not work correctly unless any libraries and other +software using the KDE4 Support framework are installed to the same +location as KDELibs4Support, although it may be sufficient to set the +KDEDIRS environment variable correctly. + +%package devel +Summary: Code and utilities to ease the transition to KDE Frameworks 5 +License: LGPL-2.1+ +Group: Development/Libraries/KDE +Requires: %lname = %{version} +Requires: %{name} = %{version} +Provides: kde4support-devel = %{version} +Obsoletes: kde4support-devel < %{version} +Requires: extra-cmake-modules +Requires: kauth-devel >= %{_kf5_version} +Requires: kconfigwidgets-devel >= %{_kf5_version} +Requires: kcoreaddons-devel >= %{_kf5_version} +Requires: kcrash-devel >= %{_kf5_version} +Requires: kdesignerplugin-devel >= %{_kf5_version} +Requires: kdoctools-devel >= %{_kf5_version} +Requires: kemoticons-devel >= %{_kf5_version} +Requires: kguiaddons-devel >= %{_kf5_version} +Requires: kiconthemes-devel >= %{_kf5_version} +Requires: kinit-devel >= %{_kf5_version} +Requires: kitemmodels-devel >= %{_kf5_version} +Requires: knotifications-devel >= %{_kf5_version} +Requires: kparts-devel >= %{_kf5_version} +Requires: ktextwidgets-devel >= %{_kf5_version} +Requires: kunitconversion-devel >= %{_kf5_version} +Requires: kwindowsystem-devel >= %{_kf5_version} +Requires: pkgconfig(Qt5Core) >= 5.2.0 +Requires: pkgconfig(Qt5DBus) >= 5.2.0 +Requires: pkgconfig(Qt5PrintSupport) >= 5.2.0 +Requires: pkgconfig(Qt5Xml) >= 5.2.0 + +%description devel +This package includes CMake macros and C++ +classes whose functionality has been replaced by code in CMake, Qt and +other frameworks. + +Code should aim to port away from this framework eventually. The API +documentation of the classes in this framework and the notes at + should help with +this. + +Note that some of the classes in this framework, especially +KStandardDirs, may not work correctly unless any libraries and other +software using the KDE4 Support framework are installed to the same +location as KDELibs4Support, although it may be sufficient to set the +KDEDIRS environment variable correctly. Development files. + +%prep +%setup -q + +%build + %cmake_kf5 -d build + %make_jobs + +%install + %kf5_makeinstall -C build + %fdupes -s %{buildroot} + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_bindir}/kdebugdialog5 +%{_kf5_bindir}/kf5-config +%{_kf5_configdir}/colors/ +%{_kf5_configdir}/kdebug.areas +%{_kf5_configdir}/kdebugrc +%{_kf5_libexecdir}/filesharelist +%{_kf5_libexecdir}/fileshareset +%{_kf5_plugindir}/designer/kdedeprecated.so +%{_kf5_plugindir}/kio_metainfo.so +%{_kf5_plugindir}/kded_networkstatus.so +%{_kf5_servicesdir}/metainfo.protocol +%{_kf5_servicesdir}/qimageioplugins/ +%{_kf5_servicesdir}/kded/ +%{_kf5_servicetypesdir}/kfilewrite.desktop +%{_kf5_servicetypesdir}/kdatatool.desktop +%{_kf5_servicetypesdir}/kscan.desktop +%{_kf5_servicetypesdir}/qimageio_plugin.desktop +%{_kf5_datadir}/kdoctools/ +%{_kf5_datadir}/widgets/ +%{_kf5_sharedir}/locale/ +%{_kf5_datadir}/locale/ +%{_kf5_mandir}/man1/kf5-config.* +%doc %{_kf5_htmldir}/ + +%files -n kssl +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_configdir}/ksslcalist +%{_kf5_plugindir}/kcm_ssl.so +%{_kf5_servicesdir}/kcm_ssl.desktop +%{_kf5_datadir}/kssl/ + +%files -n %lname +%defattr(-,root,root) +%doc COPYING* README* +%{_kf5_libdir}/libKF5KDELibs4Support.so.* + +%files devel +%defattr(-,root,root) +%{_kf5_libdir}/libKF5KDELibs4Support.so +%{_kf5_libdir}/cmake/KF5KDELibs4Support/ +%{_kf5_libdir}/cmake/KF5KDE4Support/ +%{_kf5_libdir}/cmake/KDELibs4/ +%{_kf5_includedir}/kdelibs4support_version.h +%{_kf5_includedir}/KDELibs4Support/ +%dir %{_kf5_includedir}/KDELibs4Support/ +%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml +%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml +%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml +%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml + +%changelog