43b46227aa
Copy from M17N/m17n-db based on submit request 38560 from user tiwai OBS-URL: https://build.opensuse.org/request/show/38560 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m17n-db?expand=0&rev=11
81 lines
2.4 KiB
RPMSpec
81 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package m17n-db (Version 1.6.1)
|
|
#
|
|
# Copyright (c) 2010 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: m17n-db
|
|
BuildRequires: glibc-i18ndata
|
|
Version: 1.6.1
|
|
Release: 1
|
|
License: GPLv2+ ; LGPLv2.1+ ; Public Domain, Freeware ; MIT
|
|
Group: System/I18n/Japanese
|
|
AutoReqProv: on
|
|
Url: http://www.m17n.org/m17n-lib/
|
|
# CVS:
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-lib
|
|
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-db
|
|
Source0: http://www.m17n.org/m17n-lib/download/m17n-db-%{version}.tar.bz2
|
|
Patch0: bnc429430-ar-kbd.patch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: Database Needed by the m17n Library m17n-lib
|
|
|
|
%description
|
|
Database that is needed by the m17n library "m17n-lib".
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Kenichi Handa <handa@m17n.org>
|
|
Mikiko Nishikimi <nisikimi@m17n.org>
|
|
Naoto Takahashi <ntakahas@m17n.org>
|
|
Satoru Tomura <tomura@m17n.org>
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
#./bootstrap.sh
|
|
#libtoolize --force
|
|
#autoreconf --force --install --verbose
|
|
./configure CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
--prefix=/usr \
|
|
--sysconfdir=%{_sysconfdir} \
|
|
--libdir=%{_libdir}
|
|
make %{?jobs:-j%jobs};
|
|
|
|
%install
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/IMEngine/uim.{a,la}
|
|
%find_lang m17n-db
|
|
|
|
%clean
|
|
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
%files -f m17n-db.lang
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
|
%dir %{_datadir}/m17n/
|
|
%{_datadir}/m17n/*
|
|
%{_bindir}/*
|
|
%{_datadir}/pkgconfig/m17n-db.pc
|
|
|
|
%changelog
|