diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3139882 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/shelldap-1.4.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index d475205..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# shelldap - -The shelldap package \ No newline at end of file diff --git a/shelldap.spec b/shelldap.spec new file mode 100644 index 0000000..141cf75 --- /dev/null +++ b/shelldap.spec @@ -0,0 +1,57 @@ +Name: shelldap +Version: 1.4.0 +Release: 6%{?dist} +Summary: A shell-like interface for browsing LDAP servers + +License: BSD +URL: https://bitbucket.org/mahlon/%{name} +Source0: %{url}/downloads/%{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: coreutils perl-generators perl-interpreter perl(Config) perl-podlators +# perl-generators takes care of the 'Requires' tag. +Recommends: perl(IO::Socket::SSL) perl(Authen::SASL) perl(Term::ReadLine::Gnu) + +%description +A handy shell-like interface for browsing LDAP servers and editing their +content. It keeps command history, has sane auto-completion, credential caching, +site-wide and individual configurations. + +%prep +%setup -q +/usr/bin/perl -MConfig -i -pe 's{^#!/usr/bin/env perl}{$Config{startperl}}' %{name} + +%build +pod2man shelldap > shelldap.1 +/usr/bin/perl -n -e 'if(m/^#/){print if($. > 4)}else{exit 0}' shelldap > LICENSE.txt + +%install +/usr/bin/mkdir -p %{buildroot}/%{_bindir} +/usr/bin/mkdir -p %{buildroot}/%{_mandir}/man1 +/usr/bin/install -p -m 755 shelldap %{buildroot}%{_bindir}/shelldap +/usr/bin/install -p -m 644 shelldap.1 %{buildroot}%{_mandir}/man1/shelldap.1 + +%files +%license LICENSE.txt +%doc README.md CHANGELOG CONTRIBUTORS +%{_bindir}/shelldap +%{_mandir}/man1/shelldap.1.* + +%changelog +* Sun Apr 26 2020 Emmanuel Seyman - 1.4.0-6 +- Add coreutils to BuildRequires (for mkdir and install) + +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Feb 27 2018 Timothée Floure - 1.4.0-1 +- Let there be package. diff --git a/sources b/sources new file mode 100644 index 0000000..1692bc0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (shelldap-1.4.0.tar.gz) = 55d987aa0fd14f55cbcd3d94345fd649bf5e42c0bf9e0b3ea385b4d42be0baa9d4419f17f113edec84c6f5da00bc918ffd2e55e094b842fcd389993d2e306b26