File scim-input-pad.spec of Package scim-input-pad
#
# spec file for package scim-input-pad
#
# Copyright (c) 2012 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: scim-input-pad
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: scim-devel
BuildRequires: update-desktop-files
Version: 0.1.1
Release: 0
# Provides: locale(scim:ja;ko)
Url: http://www.scim-im.org
# CVS repository:
# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim login
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/scim co scim-input-pad
Source0: http://belnet.dl.sourceforge.net/sourceforge/scim/scim-input-pad-0.1.1.tar.bz2
Patch: scim-input-pad-missing-fclose.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: an onscreen input pad to easily input symbols
License: GPL-2.0+
Group: System/X11/Utilities
%description
An onscreen input pad to easily input symbols
%prep
%define scim_binary_version %(pkg-config --variable=scim_binary_version scim)
%setup -q -n %{name}-%{version}
%patch -p1
%build
%if %suse_version <= 1110
autoreconf -I /opt/gnome/share/aclocal --force --install --verbose
%endif
CXXFLAGS="$RPM_OPT_FLAGS" \
%configure --with-pic --disable-static \
--enable-debug
make
%install
make DESTDIR=${RPM_BUILD_ROOT} install
rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/%{scim_binary_version}/Helper/input-pad.{a,la}
%find_lang scim-input-pad
%clean
rm -rf $RPM_BUILD_ROOT;
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f scim-input-pad.lang
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_bindir}/*
%{_libdir}/libscim*
%dir %{_libdir}/scim-1.0/
%dir %{_libdir}/scim-1.0/%{scim_binary_version}/
%dir %{_libdir}/scim-1.0/%{scim_binary_version}/Helper/
%{_libdir}/scim-1.0/%{scim_binary_version}/Helper/*
%dir %{_datadir}/scim/
%{_datadir}/scim/*
%changelog