Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
ki18n
> ki18n.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ki18n.spec of Package ki18n
# # spec file for package ki18n # # Copyright (c) 2017 SUSE LINUX 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/ # %bcond_without lang %define lname libKF5I18n5 %define _tar_path 5.34 Name: ki18n Version: 5.34.0 Release: 0 BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: gettext BuildRequires: python BuildRequires: pkgconfig(Qt5Concurrent) >= 5.6.0 BuildRequires: pkgconfig(Qt5Core) >= 5.6.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.6.0 BuildRequires: pkgconfig(Qt5Script) >= 5.6.0 BuildRequires: pkgconfig(Qt5Test) >= 5.6.0 Summary: KDE Gettext-based UI text internationalization License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KI18n provides functionality for internationalizing user interface text in applications, based on the GNU Gettext translation system. It wraps the standard Gettext functionality, so that the programmers and translators can use the familiar Gettext tools and workflows. %package -n %lname Summary: KDE Gettext-based UI text internationalization Group: System/GUI/KDE Requires: qt5-qtcore Requires: qt5-qtscript %description -n %lname KI18n provides functionality for internationalizing user interface text in applications, based on the GNU Gettext translation system. It wraps the standard Gettext functionality, so that the programmers and translators can use the familiar Gettext tools and workflows. %package devel Summary: KDE Gettext-based UI text internationalization Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules Requires: gettext Requires: python %description devel KI18n provides functionality for internationalizing user interface text in applications, based on the GNU Gettext translation system. It wraps the standard Gettext functionality, so that the programmers and translators can use the familiar Gettext tools and workflows. Development files. %prep %setup -q %build %cmake ../%{name}-%{version} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} # >> install pre # << install pre %make_install %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %doc COPYING* README* %{_libdir}/libKF5I18n.so.* %{_libdir}/qt5/plugins/kf5/ %{_datadir}/locale/ %files devel %defattr(-,root,root) %{_libdir}/libKF5I18n.so %{_libdir}/cmake/KF5I18n/ %{_includedir}/ %{_datadir}/qt5/mkspecs/modules/qt_KI18n.pri %changelog