LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File wordcut.spec of Package wordcut (Project DISCONTINUED:openSUSE:11.2)

# spec file for package wordcut (Version 0.5.1b2)
# 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:           wordcut
BuildRequires:  freetype2-devel xorg-x11-devel
Version:        0.5.1b2
Release:        180
License:        BSD 3-Clause
Group:          System/Libraries
AutoReqProv:    on
Provides:       locale(th)
Url:            http://thaiwordseg.sourceforge.net/
Source0:        http://belnet.dl.sourceforge.net/sourceforge/thaiwordseg/wordcut-0.5.1b2.tar.bz2
Patch0:         bugzilla-152315-locale-variable-used-before-set.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Thai word segmentation utility.

Thai word segmentation utility.

    Vee Satayamas <virasj@users.sourceforge.net>

%package devel
License:        BSD 3-Clause
Summary:        Include Files and Libraries mandatory for Development.
Group:          System/Libraries
Requires:       %{name} = %{version} glibc-devel

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.

    Vee Satayamas <virasj@users.sourceforge.net>

%setup -q -n %{name}-%{version}
%patch0 -p1

autoreconf --force --install --verbose
%configure --disable-static --with-pic

make DESTDIR=${RPM_BUILD_ROOT} install


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%defattr(-, root, root)
%dir %{_datadir}/wordcut/

%files devel
%defattr(-, root, root)
%exclude %{_libdir}/*.la

* Wed Dec 26 2007 crrodriguez@suse.de
- fix library-without-ldconfig-*
- remove static libraries and libtool archives with empty dependency_libs
* Tue Sep 05 2006 meissner@suse.de
- set CFLAGS/CXXFLAGS correctly for configure.
* Wed Mar 01 2006 mfabian@suse.de
- add "Provides: locale(th)".
* Thu Feb 23 2006 mfabian@suse.de
- Bugzilla #152315: "local variable used before set".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 16 2004 mfabian@suse.de
- new package: wordcut, version 0.5.1b2