SHA256
1
0
forked from pool/ibus-table
ibus-table/ibus-table.spec

76 lines
1.9 KiB
RPMSpec

#
# spec file for package ibus-table
#
# Copyright (c) 2011 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.3.0.20100621
Release: 1
Summary: The Table engine for IBus platform
License: LGPL-2.1+
Group: System/I18n/Chinese
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: LGPL-2.1+
Summary: Development package for ibus-table
Group: Development/Libraries/other
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the files required for the development of ibus-table.
%prep
%setup -q
chmod -x AUTHORS COPYING README
%build
%configure \
--disable-static --libexecdir=%{_prefix}/%{_lib}/ibus
make %{?jobs:-j %jobs}
%install
%makeinstall
%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_datadir}/ibus-table
%dir %{_libdir}/ibus
%{_libdir}/ibus/ibus-*
%{_bindir}/*
%{_datadir}/ibus
%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc
%changelog