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

#
# spec file for package skim-scim-skk (Version 0.5.2.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           skim-scim-skk
BuildRequires:  kdelibs3-devel scim-devel skim
Version:        0.5.2.1
Release:        50
License:        GNU General Public License (GPL)
Group:          System/I18n/Japanese
Autoreqprov:    on
Requires:       scim-skk
Provides:       locale(scim:ja)
URL:            http://sourceforge.jp/projects/scim-imengine/
Source0:        http://keihanna.dl.sourceforge.jp/scim-imengine/18518/skim-scim-skk-0.5.2.1.tar.bz2
Patch0:         pkg-config-path.patch
Patch1:         autoconf-version.patch
Patch2:         remove-include-hints.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        SKIM setup module for scim-skk

%description
SKIM setup module for scim-skk



Authors:
--------
    Takuro Ashie <ashie@homa.ne.jp>
    liuspider <liuspider@users.sourceforge.net>

%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
export QTDIR=/usr/lib/qt3
export KDEDIR=/opt/kde3
make DESTDIR=${RPM_BUILD_ROOT} install
%find_lang skim-scim-skk

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

%files -f skim-scim-skk.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%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
* Tue Apr 24 2007 - mfabian@suse.de
- remove-include-hints.patch to make it build for SUSE Linux 10.0
  in the openSUSE build service.
* Wed Sep 06 2006 - mfabian@suse.de
- add "Requires: scim-skk".
* Tue Sep 05 2006 - mfabian@suse.de
- new package: skim-scim-skk, version 0.5.2.1
openSUSE Build Service is sponsored by