File scim-input-pad.spec of Package scim-input-pad

#
# spec file for package scim-input-pad (Version 0.1.1)
#
# Copyright (c) 2009 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:           scim-input-pad
BuildRequires:  gcc-c++ gtk2-devel scim-devel update-desktop-files
Version:        0.1.1
Release:        272
License:        GPL v2 or later
Group:          System/X11/Utilities
AutoReqProv:    on
Provides:       locale(scim:ja;ko;zh)
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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        an onscreen input pad to easily input symbols

%description
an onscreen input pad to easily input symbols



Authors:
--------
    James Su <suzhe@tsinghua.org.cn>

%prep
%define scim_binary_version %(pkg-config --variable=scim_binary_version scim)
%setup -q -n %{name}-%{version}

%build
autoreconf -I /opt/gnome/share/aclocal --force --install --verbose
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
* Thu Dec 27 2007 crrodriguez@suse.de
- fix library-without-ldconfig-* errors
* Sat Oct 28 2006 meissner@suse.de
- use optflags
* Thu Oct 12 2006 mfabian@suse.de
- fix to build with scim 1.4.5.
- remove .{a,la} files
* Tue Feb 28 2006 mfabian@suse.de
- Bugzilla #153791: use ';' in Provides locale(...).
* Thu Feb 23 2006 mfabian@suse.de
- add "Provides: locale(scim:ja,ko,zh)".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 zsu@suse.de
- update to 0.1.1
* Thu Aug 04 2005 mfabian@suse.de
- Bugzilla #97962: add configure option "--enable-debug" to
  the .spec file.
* Thu Jun 02 2005 mfabian@suse.de
- add radicals for Japanese.
* Wed Apr 13 2005 mfabian@suse.de
- new package: scim-input-pad, version 0.1.0.
openSUSE Build Service is sponsored by