forked from pool/ibus-table
db578c8102
Copy from M17N/ibus-table based on submit request 35654 from user tiwai OBS-URL: https://build.opensuse.org/request/show/35654 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibus-table?expand=0&rev=2
97 lines
2.6 KiB
RPMSpec
97 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package ibus-table (Version 1.2.0.20091113)
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: ibus-table
|
|
BuildRequires: fdupes ibus-devel pkgconfig python
|
|
Version: 1.2.0.20091113
|
|
Release: 2
|
|
Summary: The Table engine for IBus platform
|
|
License: LGPLv2.1+
|
|
Group: System Environment/Libraries
|
|
Url: http://code.google.com/p/ibus/
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The package contains general Table engine for IBus platform.
|
|
|
|
%package devel
|
|
License: LGPLv2.1+
|
|
Summary: Development package for ibus-table
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains the files required for the development of ibus-table.
|
|
|
|
%package additional
|
|
License: LGPLv2.1+
|
|
Summary: Additional tables for general table engine of IBus
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description additional
|
|
This package contains additional tables.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--enable-additional
|
|
make %{?jobs:-j %jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%find_lang %{name}
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post additional
|
|
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/compose.db
|
|
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING README
|
|
%{_datadir}/ibus-table
|
|
%{_libexecdir}/ibus-*
|
|
%{_bindir}/*
|
|
%{_datadir}/ibus
|
|
%exclude %{_datadir}/ibus-table/*/compose.*
|
|
%exclude %{_datadir}/ibus-table/*/latex.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files additional
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/ibus-table/tables/compose.db
|
|
%{_datadir}/ibus-table/tables/latex.db
|
|
%{_datadir}/ibus-table/icons/compose.svg
|
|
%{_datadir}/ibus-table/icons/latex.svg
|
|
|
|
%changelog
|