Proszę przejrzeć i ew. wrzucić

Zbyniu
-- 
\78\32\14\46\67\67\90\1A
%% Timeo me dubitare %%

Name:           ldapvi
Summary:        LDAP LDIF Editor
Summary(pl):    Edytor 
Group:          Networking/Utilities
License:        GPL v2
Version:        1.1
Release:        0.1
Source0:        http://www.lichteblau.com/download/%{name}-%{version}.tar.gz
# Source0-md5:  9395bc94613d33cdd8840b83821c9fb0
Patch0:         %{name}-ncurses.patch
URL:            http://www.lichteblau.com/src.html
BuildRequires:  glib2-devel >= 2.0
BuildRequires:  ncurses-devel
BuildRequires:  openldap-devel >= 2.0
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
LDAPvi allows retrieving LDAP database records, edit them in LDIF
format within a text editor and store the changed records back via
LDAP.

%description -l pl
LDAPvi jest narzędziem do obróbki rekordów katalogu LDAP. Pozwala 
edytować je w formacie LDIF edytorem tekstowym i zachowywać zmiany 
z powrotem w LDAPie.

%prep
%setup -q 
%patch0 -p1
%configure

%build
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install ldapvi $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
install NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}
install ldapvi.1 $RPM_BUILD_ROOT%{_mandir}/man1

%files 
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ldapvi
%doc NEWS
%{_mandir}/man*/*

%clean
rm -rf $RPM_BUILD_ROOT


%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$
diff -urN ldapvi-1.1/ldapvi.c ldapvi-1.1/ldapvi.c
--- ldapvi-1.1/ldapvi.c 2004-01-27 05:10:06.000000000 +0100
+++ ldapvi-1.1/ldapvi.c 2004-05-06 15:00:00.000000000 +0200
@@ -1,7 +1,7 @@
 /* (c) 2003 David Lichteblau.  License: GNU GPL. */
-#include <curses.h>
+#include <ncurses/curses.h>
 #include <signal.h>
-#include <term.h>
+#include <ncurses/term.h>
 #include "common.h"
 
 static int
diff -urN ldapvi-1.1/misc.c ldapvi-1.1/misc.c
--- ldapvi-1.1/misc.c   2004-01-27 05:10:06.000000000 +0100
+++ ldapvi-1.1/misc.c   2004-05-06 14:59:47.000000000 +0200
@@ -1,6 +1,6 @@
 /* (c) 2003 David Lichteblau.  License: GNU GPL. */
-#include <curses.h>
-#include <term.h>
+#include <ncurses/curses.h>
+#include <ncurses/term.h>
 #include "common.h"
 
 int

_______________________________________________________
z�ota zasada - kto si� nie zna, niech si� nie wypowiada

Odpowiedź listem elektroniczym