Codebase list ibus-array / fresh-snapshots/main ibus-array.spec.in
fresh-snapshots/main

Tree @fresh-snapshots/main (Download .tar.gz)

ibus-array.spec.in @fresh-snapshots/mainraw · history · blame

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@
Name:       @PACKAGE_NAME@
Version:    @PACKAGE_VERSION@
Release:    1%{?dist}
Summary:    IBus Array 30 project
License:    GPLv2+
Group:      System Environment/Libraries
URL:        https://github.com/lexical/ibus-array
Source0:    https://github.com/lexical/ibus-array/archive/release-%{version}.tar.gz

BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  gettext-devel

Requires:   ibus

%description
IBus Array 30 project.

%prep
%setup -q

%build
%configure --disable-static
# make -C po update-gmo
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
# %dir %{python_sitearch}/ibus
# %{python_sitearch}/ibus/*
%dir %{_datadir}/ibus-array
%{_datadir}/ibus-tmpl
%{_bindir}/ibus-engine-array
%{_datadir}/ibus/engine/array.engine

%changelog
* Fri Jul 17 2020 Keng-Yu Lin <kengyu@debian.org> - 0.2.2
* Sat Apr 22 2009 Yu-Chun Wang <mainlander1122@gmail.com> - 0.0.1
- The first version.