File limal-devtools.spec of Package limal-devtools

# spec file for package limal-devtools
# Copyright (c) 2011 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

# norootforbuild

Name:           limal-devtools
Version:        1.6.3
Release:        0
License:        GPL-2.0+
Group:          Development/Libraries/C and C++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Source0:        limal-devtools-1.6.3.tar.bz2

Prefix:         /usr
%define		swiglibdir /usr/share/limal/typemaps 

BuildRequires:  docbook-xsl-stylesheets gcc-c++ libtool libxslt pkgconfig sgml-skel swig
Requires:       libxslt
Requires:       doxygen dejagnu
Requires:       gettext gettext-devel recode
Requires:       autoconf automake libtool
Requires:       pkgconfig swig
Requires:       openssl-devel
# cvs required by autopoint
Requires:       cvs

%if 0%{?suse_version}
Recommends:     subversion
Requires:       docbook-xsl-stylesheets

%if  0%{?fedora_version}
Requires:       docbook-style-xsl
AutoReqProv:    off
Summary:        LiMaL--Development Tools

Scripts and templates for developing LiMaL modules and components.
Required for rebuilding the existing LiMaL modules and components.

    Stefan Hundhammer <>
    Klaus Kaempf <>
    Arvin Schnell <>
    Martin Vidner <>
    Stanislav Visnovsky <>
    Michal Svec <>
    Stefan Schubert <>

%setup -n limal-devtools-1.6.3

autoreconf --force --install --verbose

%{?suse_update_config:%{suse_update_config -f}}
./configure --prefix=%{prefix} --libdir=%{_libdir} --mandir=%{_mandir}

make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/limal/devtools/NO_MAKE_CHECK" ] || \
           LIMALDATADIR="$RPM_BUILD_ROOT/usr/share/limal"  \
# required for perl test cases
export LD_LIBRARY_PATH="$RPM_BUILD_ROOT/usr/lib/limal"

rm -rf "$RPM_BUILD_ROOT"

%doc %{_prefix}/share/doc/packages/limal-devtools