File shelldap.spec of Package shelldap
#
# spec file for package shelldap
#
# 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.
Name: shelldap
Version: 1.5.0
Release: lp151.2.1
License: BSD-3-Clause
Summary: Shell-like interface to LDAP servers
Url: http://projects.martini.nu/shelldap
Group: Productivity/Networking/LDAP/Clients
Source0: %{name}-%{version}.tar.gz
Patch0: fix-pod2man.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl-YAML-Syck
Requires: perl-Term-Shell
Requires: perl-Digest-MD5
Requires: perl-ldap
Requires: perl-Algorithm-Diff
Requires: perl-IO-Socket-SSL
Requires: perl-Authen-SASL
Requires: perl-TermReadLine-Gnu
%description
Shelldap is a program for interacting with an LDAP server
via a shell-like interface.
This is not meant to be an exhaustive LDAP editing and browsing
interface, but rather an intuitive shell for performing basic LDAP
tasks quickly and with minimal effort.
%prep
%setup
%patch0 -p1
%build
pod2man shelldap > shelldap.1
gzip shelldap.1
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m 755 shelldap %{buildroot}%{_bindir}/shelldap
install -m 644 shelldap.1.gz %{buildroot}%{_mandir}/man1/shelldap.1.gz
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/shelldap
%{_mandir}/man1/shelldap.1.gz
%doc README.md CHANGELOG
%changelog
* Thu Oct 10 2019 Jeremy Jacque <snake@jerli.info>
- Update to version 1.5.0
* Tue Jan 8 2013 aspiers@suse.com
- Add man page.
* Sat Feb 20 2010 aspiers@suse.com
- Initial build from hg revision 40.