Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
fcitx-ui-light
fcitx-ui-light.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcitx-ui-light.spec of Package fcitx-ui-light
# # spec file for package fcitx-ui-light # # Copyright (c) 2010 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/ # Name: fcitx-ui-light Version: 0.1.3 Release: 0 License: GPL-2.0+ Summary: Light Weight UI for Fcitx Url: https://github.com/fcitx/fcitx-ui-light Group: System/I18n/Chinese Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: fcitx-devel BuildRequires: gettext BuildRequires: intltool BuildRequires: xorg-x11-devel BuildRequires: pkg-config BuildRequires: freetype2-devel BuildRequires: fontconfig-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %else BuildRequires: desktop-file-utils BuildRequires: libX11-devel BuildRequires: libXft-devel BuildRequires: libXpm-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Fcitx-ui-light provides an alternative light weight UI for Fcitx, only using Xpm and Xft. if you are not a light weight desktop environment user, strongly recommends you to use the normal "fcitx" package. %prep %setup -q %build %{__mkdir} -pv build pushd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. make %{?_smp_mflags} %install pushd build make DESTDIR=%{buildroot} install popd %if 0%{?suse_version} %suse_update_desktop_file fcitx-light Utility DesktopUtility %endif %if 0%{?fedora_version} desktop-file-install --add-category="Utility" --delete-original --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/fcitx-light.desktop %endif %find_lang fcitx-light-ui %__strip %{buildroot}%{_libdir}/fcitx/fcitx-light-ui.so %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f fcitx-light-ui.lang %defattr(-,root,root) %{_libdir}/fcitx/fcitx-light-ui.so %{_datadir}/applications/fcitx-light.desktop %{_datadir}/fcitx/addon/fcitx-light-ui.conf %{_datadir}/fcitx/configdesc/fcitx-light-ui.desc %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