Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:GA
ibus-sunpinyin
ibus-sunpinyin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ibus-sunpinyin.spec of Package ibus-sunpinyin
# # spec file for package ibus-sunpinyin # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: ibus-sunpinyin Version: 2.0.99.2 Release: 0 Summary: Sunpinyin module for ibus License: CDDL-1.0 OR LGPL-2.1-only Group: System/I18n/Chinese URL: https://github.com/sunpinyin/sunpinyin Source: https://github.com/sunpinyin/sunpinyin/archive/v3.0.0-rc2/sunpinyin-3.0.0-rc2.tar.gz # PATCH-FIX-UPSTREAM ibus-sunpinyin-fix-libexecdir.patch hillwood@opensuse.org -- libexecdir should be in %{_libdir}/ibus/ Patch0: ibus-sunpinyin-fix-libexecdir.patch BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: scons >= 1.2.0 BuildRequires: pkgconfig(ibus-1.0) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(sunpinyin-2.0) Requires: sunpinyin-data BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ibus-sunpinyin is a wrapper around SunPinyin which enables user to use SunPinyin with IBus framework. %prep %autosetup -p1 -n sunpinyin-3.0.0-rc2 sed -i "s/LIBEXECDIR'\].*ibus-sunpinyin.*/LIBEXECDIR'\]/" SConstruct sed -i "s/exec python /exec python3 /g" wrapper/ibus/setup/ibus-setup-sunpinyin.in %build cd wrapper/ibus/ scons --prefix=%{_prefix} \ --libdir=%{_libdir} \ --libexecdir=%{_libdir}/ibus %install pushd wrapper/ibus/ scons install --prefix=%{_prefix} \ --libdir=%{_libdir} \ --libexecdir=%{_libdir}/ibus \ --install-sandbox=%{buildroot} popd chmod 755 %{buildroot}%{_datadir}/%{name}/setup/main.py %find_lang %{name} %files -f %{name}.lang %defattr(-,root,root) %doc wrapper/ibus/README %license wrapper/ibus/COPYING wrapper/ibus/LGPL.LICENSE wrapper/ibus/OPENSOLARIS.LICENSE %{_libdir}/ibus/ibus-engine-sunpinyin %{_libdir}/ibus/ibus-setup-sunpinyin %{_datadir}/%{name} %{_datadir}/ibus/component/sunpinyin.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor