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.
97 lines
3.1 KiB
97 lines
3.1 KiB
%global gitdate 20230829.233059
|
|
%global cmakever 5.240.0
|
|
%global commit0 7042d58a8a2d956da75eaeed285fa550bd931293
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
%global framework ki18n
|
|
|
|
Name: kf6-%{framework}
|
|
Version: %{cmakever}^%{gitdate}.%{shortcommit0}
|
|
Release: 3%{?dist}
|
|
Summary: KDE Frameworks 6 Tier 1 addon for localization
|
|
License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL AND ODbL-1.0
|
|
URL: https://invent.kde.org/frameworks/%{framework}
|
|
Source0: https://invent.kde.org/frameworks/%{framework}/-/archive/%{commit0}/%{framework}-%{shortcommit0}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: extra-cmake-modules >= %{cmakever}
|
|
BuildRequires: gettext
|
|
BuildRequires: kf6-rpm-macros
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: python3
|
|
BuildRequires: qt6-qtbase-devel
|
|
BuildRequires: qt6-qtbase-private-devel
|
|
BuildRequires: qt6-qtdeclarative-devel
|
|
BuildRequires: cmake(Qt6Qml)
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
|
|
Requires: kf6-filesystem
|
|
|
|
%description
|
|
KDE Frameworks 6 Tier 1 addon for localization.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: gettext
|
|
Requires: python3
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{framework}-%{commit0} -p1
|
|
|
|
|
|
%build
|
|
%cmake_kf6
|
|
%cmake_build
|
|
|
|
|
|
%install
|
|
%cmake_install
|
|
%find_lang %{name} --all-name
|
|
|
|
%files -f %{name}.lang
|
|
%doc README.md
|
|
%license LICENSES/*.txt
|
|
%{_kf6_libdir}/libKF6I18n.so.*
|
|
%{_kf6_libdir}/libKF6I18nLocaleData.so.*
|
|
%{_kf6_datadir}/qlogging-categories6/*%{framework}*
|
|
%{_kf6_qmldir}/org/kde/i18n/localeData/
|
|
%{_kf6_qtplugindir}/kf6/ktranscript.so
|
|
%lang(ca) %{_datadir}/locale/ca/LC_SCRIPTS/ki18n6/
|
|
%lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_SCRIPTS/ki18n6/
|
|
%lang(fi) %{_datadir}/locale/fi/LC_SCRIPTS/ki18n6/
|
|
%lang(gd) %{_datadir}/locale/gd/LC_SCRIPTS/ki18n6/
|
|
%lang(ja) %{_datadir}/locale/ja/LC_SCRIPTS/ki18n6/
|
|
%lang(ko) %{_datadir}/locale/ko/LC_SCRIPTS/ki18n6/
|
|
%lang(ru) %{_datadir}/locale/ru/LC_SCRIPTS/ki18n6/
|
|
%lang(sr) %{_datadir}/locale/sr/LC_SCRIPTS/ki18n6/
|
|
%lang(nb) %{_datadir}/locale/nb/LC_SCRIPTS/ki18n6/
|
|
%lang(nn) %{_datadir}/locale/nn/LC_SCRIPTS/ki18n6/
|
|
%lang(sr@ijekavian) %{_datadir}/locale/sr@ijekavian/LC_SCRIPTS/ki18n6/
|
|
%lang(sr@ijekavianlatin) %{_datadir}/locale/sr@ijekavianlatin/LC_SCRIPTS/ki18n6/
|
|
%lang(sr@latin) %{_datadir}/locale/sr@latin/LC_SCRIPTS/ki18n6/
|
|
%lang(sr) %{_datadir}/locale/uk/LC_SCRIPTS/ki18n6/
|
|
|
|
%files devel
|
|
%{_kf6_includedir}/KI18n/
|
|
%{_kf6_includedir}/KI18nLocaleData/
|
|
%{_kf6_libdir}/libKF6I18n.so
|
|
%{_kf6_libdir}/libKF6I18nLocaleData.so
|
|
%{_kf6_libdir}/cmake/KF6I18n/
|
|
%{_kf6_archdatadir}/mkspecs/modules/qt_KI18n.pri
|
|
|
|
|
|
%changelog
|
|
* Tue Oct 17 2023 Jan Grulich <jgrulich@redhat.com> - 5.240.0^20230829.233059.7042d58-3
|
|
- Rebuild (qt6)
|
|
|
|
* Thu Oct 05 2023 Justin Zobel <justin.zobel@gmail.com> - 5.240.0^20230829.233059.7042d58-2
|
|
- Rebuild for Qt Private API
|
|
|
|
* Wed Sep 27 2023 Steve Cossette <farchord@gmail.com> - 5.240.0^20230829.233059.7042d58-1
|
|
- Initial Release
|