File limal-nfs-server.spec of Package limal-nfs-server
#
# spec file for package limal-nfs-server (Version 1.5.1)
#
# Copyright (c) 2008 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: limal-nfs-server
Version: 1.5.1
Release: 1
License: GPL v2 or later
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: limal-nfs-server-1.5.1.tar.bz2
Prefix: /usr
%define swiglibdir /usr/share/limal/typemaps
BuildRequires: curl gcc-c++ limal-devel limal-devtools limal-perl perl-gettext sgml-skel
%if 0%{?fedora_version} >= 7
BuildRequires: perl-ExtUtils-Embed
%endif
Summary: LiMaL--NFS Server Library
%description
LiMaL NFS Server Library provides methods for managing a NFS Server.
Authors:
--------
Marius Tomachewski
Chakravarthi P
%package devel
License: GPL v2 or later
Requires: limal-nfs-server = %version
Requires: limal-devel
Group: System/Management
Summary: LiMaL--NFS Server Library Development Files
%description devel
LiMaL NFS Server Library provides methods for managing a NFS Server.
This package includes the header files and development documentation.
Authors:
--------
Marius Tomachewski
Chakravarthi P
%package perl
License: GPL v2 or later
Requires: limal-perl
%if 0%{?fedora_version} >= 7
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%else
Requires: perl = %{perl_version}
%endif
Group: System/Management
Summary: LiMaL--NFS Server Library Perl Bindings
%description perl
LiMaL NFS Server Library provides methods for managing a NFS Server.
This package provides the perl bindings to the NFS Server Library.
Authors:
--------
Marius Tomachewski
Chakravarthi P
%prep
%setup -n limal-nfs-server-1.5.1
%build
%{prefix}/bin/limaltool limalautoconf
%{prefix}/bin/limaltool limalautomake
autoreconf --force --install --verbose
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
# workaround for fedora gettext check on x86_64
sed -i -e 's/return (int) gettext/return (long) gettext/g' ./configure
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} \
--sysconfdir=/etc --localstatedir=/var
make %{?jobs:-j%jobs}
%install
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"
make check DESTDIR="$RPM_BUILD_ROOT"
%find_lang %name
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f %name.lang
%defattr(-,root,root)
%dir %{_libdir}/limal
%{_libdir}/limal/lib*.so.*
%files devel
%defattr(-,root,root)
%dir %{_libdir}/limal
%{_libdir}/limal/lib*.so
%{_libdir}/limal/lib*.la
%dir %{_includedir}/limal/nfs-server
%{_includedir}/limal/nfs-server/*
%{_libdir}/pkgconfig/limal-nfs-server.pc
%doc %{_prefix}/share/doc/packages/limal-nfs-server
%files perl
%defattr(-,root,root)
%dir %{perl_vendorarch}/LIMAL
%dir %{perl_vendorarch}/auto/LIMAL
%dir %{perl_vendorarch}/auto/LIMAL/NfsServer/
%{perl_vendorarch}/auto/LIMAL/NfsServer/*
%{perl_vendorarch}/LIMAL/*.pm
%changelog
* Wed Nov 05 2008 mc@suse.de
- version 1.5.1
- update translations
* Wed Sep 03 2008 mc@suse.de
- version 1.5.0
- update i18n files
* Fri Jun 06 2008 mc@suse.de
- version 1.4.6
- update i18n files
* Fri May 09 2008 mc@suse.de
- version 1.4.5
- update i18n files
* Mon Apr 14 2008 mc@suse.de
- version 1.4.4
- update i18n files
* Thu Apr 03 2008 mc@suse.de
- version 1.4.3
- use $limaldatadir/typemaps for own swig typemaps (bnc#373586)
- update translation files
* Wed Feb 13 2008 mc@suse.de
- version 1.4.2
- fix testsuite
- gcc fixes
- use %%lang
- update localization files
* Tue Jan 15 2008 coolo@suse.de
- another perl 5.10 work around
* Fri Nov 09 2007 mc@suse.de
- version 1.4.1
- build with new libblocxx-devel
- change SONAME because of new blocxx6
* Thu Oct 11 2007 mc@suse.de
- version 1.4.0
- update translation files
* Mon Sep 17 2007 mt@suse.de
- Added package summaries and descriptions to the spec.in file.
* Mon Sep 10 2007 mc@suse.de
- version 1.3.2
- update translation files
* Mon Aug 20 2007 mc@suse.de
- version 1.3.1
- update translation files
* Wed Jul 18 2007 mt@suse.de
- version 1.3.0
- updated translation files
* Fri Apr 27 2007 mc@suse.de
- update translation files
* Wed Mar 28 2007 mc@suse.de
- fixing typos
* Mon Jan 15 2007 mc@suse.de
- merge proofreaded texts
* Mon Jan 08 2007 mc@suse.de
- fix the makefile
* Mon Dec 04 2006 mt@suse.de
- version 1.2.1
* Fri Dec 01 2006 mc@suse.de
- version 1.1.50
* Wed Nov 08 2006 pchakravarthi@novell.com
- Modified NfsIdmapdConf.cpp and KNfsIdmapdConf.cpp to handle
error conditions better.
* Thu Oct 12 2006 pchakravarthi@novell.com
- unspecified fix in KNfsIdmapdRules
* Thu Sep 28 2006 mt@suse.de
- Fixed to use limal::Logger interface in skeleton testcases
- Applied gettext calls to all exception messages
* Sun Sep 24 2006 pchakravarthi@novell.com
- Added code to be able to read, check, and write back the idmapd
entries in the configuration file /etc/idmapd.conf