File skim-scim-anthy.spec of Package skim-scim-anthy

#
# spec file for package skim-scim-anthy (Version 1.2.2)
#
# 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:           skim-scim-anthy
BuildRequires:  kdelibs3-devel scim-devel skim
Version:        1.2.2
Release:        212
License:        GPL v2 or later
Group:          System/I18n/Japanese
AutoReqProv:    on
Requires:       scim-anthy
Provides:       locale(scim:ja)
Url:            http://sourceforge.jp/projects/scim-imengine/
Source0:        http://osdn.dl.sourceforge.jp/scim-imengine/22713/skim-scim-anthy-1.2.2.tar.bz2
Patch0:         pkg-config-path.patch
Patch1:         autoconf-version.patch
Patch2:         fix-include-hints.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        SKIM setup module for scim-anthy

%description
SKIM setup module for scim-anthy



Authors:
--------
    Takuro Ashie <ashie@homa.ne.jp>
    liuspider <liuspider@users.sourceforge.net>
    SHIMODA Hiroshi <piro@p.club.ne.jp>

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
./bootstrap
#libtoolize --force
#autoreconf --force --install --verbose
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde3/%_lib/pkgconfig
export CXXFLAGS="$RPM_OPT_FLAGS"
export QTDIR=/usr/lib/qt3
export KDEDIR=/opt/kde3
./configure --prefix=/opt/kde3 \
            --disable-static \
	    --enable-debug
make 

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
export QTDIR=/usr/lib/qt3
export KDEDIR=/opt/kde3
make DESTDIR=${RPM_BUILD_ROOT} install
%find_lang skim-scim-anthy

%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%files -f skim-scim-anthy.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
%dir /opt/kde3/share/apps/skim/
/opt/kde3/share/apps/skim/*
/opt/kde3/share/config.kcfg/*
/opt/kde3/share/services/*
/opt/kde3/%{_lib}/kde3/*

%changelog
* Thu Apr 26 2007 mfabian@suse.de
- update to 1.2.2 to have the same version as scim-anthy.
* Thu Oct 12 2006 mfabian@suse.de
- update to 1.2.1.
  • Add dictionary encoding setting
- fix include hints.
* Wed Sep 06 2006 mfabian@suse.de
- add "Requires: scim-anthy".
* Mon Sep 04 2006 mfabian@suse.de
- new package: skim-scim-anthy, version 1.2.0.
openSUSE Build Service is sponsored by