SPECS/ldapvi.spec
changeset 0 4ae9ff6a99a7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SPECS/ldapvi.spec	Mon Nov 28 16:25:23 2011 +0100
@@ -0,0 +1,29 @@
+Name: ldapvi
+Version: 1.7
+Release: 1
+Summary: ldapvi - interactive LDAP client and editor
+License: GPL
+Source: http://www.lichteblau.com/ldapvi/ldapvi-%{version}.tar.gz
+Patch0: SOURCES/ldapvi-1.7-makefile.diff
+Patch1: SOURCES/ldapvi-1.7-getline.diff
+Buildrequires: openldap2-devel, ncurses-devel, readline-devel, glib2-devel, openssl-devel, libxslt
+Requires: openldap2-client
+
+%description
+ldapvi is an interactive LDAP client and editor, allowing you to edit
+LDAP entries with your favourite editor.
+
+%prep
+%setup
+%patch0 -p1
+%patch1 -p1
+
+%configure
+%build
+	%{__make}
+	%{__make} -C manual
+%install
+	%{__make} DESTDIR="%{buildroot}" install
+%files
+/usr/bin/ldapvi
+%doc /usr/share