init package
This commit is contained in:
parent
890764c26c
commit
522c759b3f
BIN
frameworkintegration-5.55.0.tar.xz
Normal file
BIN
frameworkintegration-5.55.0.tar.xz
Normal file
Binary file not shown.
113
kf5-frameworkintegration.spec
Normal file
113
kf5-frameworkintegration.spec
Normal file
@ -0,0 +1,113 @@
|
||||
%global framework frameworkintegration
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.55.0
|
||||
Release: 1
|
||||
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
|
||||
License: LGPLv2+
|
||||
URL: https://cgit.kde.org/%{framework}.git
|
||||
|
||||
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
||||
|
||||
# filter plugin provides
|
||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||
|
||||
BuildRequires: extra-cmake-modules >= %{version}
|
||||
BuildRequires: kf5-kconfig-devel >= %{version}
|
||||
BuildRequires: kf5-kconfigwidgets-devel >= %{version}
|
||||
BuildRequires: kf5-ki18n-devel >= %{version}
|
||||
BuildRequires: kf5-kiconthemes-devel >= %{version}
|
||||
BuildRequires: kf5-kio-devel >= %{version}
|
||||
BuildRequires: kf5-knewstuff-devel >= %{version}
|
||||
BuildRequires: kf5-knotifications-devel >= %{version}
|
||||
BuildRequires: kf5-kpackage-devel >= %{version}
|
||||
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
|
||||
BuildRequires: kf5-rpm-macros >= %{version}
|
||||
|
||||
BuildRequires: libXcursor-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
|
||||
# prior to 5.11.0-3, main pkg was multilib'd (due to arch'd -devel deps) -- rex
|
||||
Obsoletes: %{name} < 5.11.0-3
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
## consider removing for f28+, since Qt5 tracks via versioned symbols now -- rex
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||
|
||||
%description
|
||||
Framework Integration is a set of plugins responsible for better integration of
|
||||
Qt applications when running on a KDE Plasma workspace.
|
||||
|
||||
Applications do not need to link to this directly.
|
||||
|
||||
%package libs
|
||||
Summary: Runtime libraries for %{name}.
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: kf5-kiconthemes-devel >= %{version}
|
||||
Requires: kf5-kconfigwidgets-devel >= %{version}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{framework}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
popd
|
||||
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING.LIB
|
||||
%{_kf5_datadir}/kf5/infopage/
|
||||
%{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc
|
||||
%dir %{_kf5_libexecdir}/kpackagehandlers
|
||||
%{_kf5_libexecdir}/kpackagehandlers/knshandler
|
||||
# move to subpkg? -- rex
|
||||
%if 0%{?appstream}
|
||||
%{_kf5_libexecdir}/kpackagehandlers/appstreamhandler
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files libs
|
||||
%{_kf5_libdir}/libKF5Style.so.*
|
||||
%{_kf5_plugindir}/FrameworkIntegrationPlugin.so
|
||||
|
||||
%files devel
|
||||
%{_kf5_includedir}/frameworkintegration_version.h
|
||||
%{_kf5_includedir}/KStyle/
|
||||
%{_kf5_libdir}/libKF5Style.so
|
||||
%{_kf5_libdir}/cmake/KF5FrameworkIntegration/
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||
- Initial release for OpenEuler
|
||||
4
kf5-frameworkintegration.yaml
Normal file
4
kf5-frameworkintegration.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/frameworkintegration
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user