Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c27af0247a07c5b814a7773002613be4 > files > 5

ldapvi-1.7-15.mga3.src.rpm

%define name ldapvi
%define version 1.7
%define release %mkrel 15

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
Summary: 	Performs an LDAP search and update results using a text editor
URL:		http://www.lichteblau.com/ldapvi.html
Source0: 	http://www.lichteblau.com/download/%{name}-%{version}.tar.gz
Patch:		ldapvi-makefile.in-destdir.patch
# (misc) patch to fix the naming conflict between function "getline" of stdio.h
# and private function getline in common.h, by renaming it
# comes from upstream : 256ced029c235687bfafdffd07be7d47bf7af39b
Patch1:     	ldapvi-fix_naming_conflict.diff 
# Patch to fix incorrect vim modeline. Downloaded from redhat bugzilla :
# https://bugzilla.redhat.com/show_bug.cgi?id=691958
Patch2:		fix-vim-modeline.patch
License: 	GPLv2+
Group: 		System/Configuration
BuildRequires:	openldap-devel >= 2.2.0
BuildRequires:	glib2-devel
BuildRequires:	ncurses-devel
BuildRequires:	popt-devel
BuildRequires:	pkgconfig
BuildRequires:	readline-devel
BuildRequires:	libxslt-proc

%description 
ldapvi allows a user to perform an LDAP search and update results using 
a text editor

%prep
%setup -q
%patch -p1 -b .orig
%patch1 -p2 -b .conflict
%patch2 -p2

%build
%configure2_5x
%make

%install
%makeinstall_std

xsltproc \
    %{buildroot}/%{_docdir}/%{name}/html.xsl \
    %{buildroot}/%{_docdir}/%{name}/manual.xml \
    > %{buildroot}/%{_docdir}/%{name}/manual.html

rm -f %{buildroot}/%{_docdir}/%{name}/html.xsl
rm -f %{buildroot}/%{_docdir}/%{name}/manual.xml

%files
%doc NEWS
%{_bindir}/%{name}
%{_mandir}/man?/*


%changelog

* Wed Jan 23 2013 fwang <fwang> 1.7-15.mga3
+ Revision: 391468
- update rpm group

* Sat Jan 12 2013 umeabot <umeabot> 1.7-14.mga3
+ Revision: 356723
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Oct 10 2011 boklm <boklm> 1.7-13.mga2
+ Revision: 153677
- Add patch to fix incorrect vim modeline. https://bugzilla.redhat.com/show_bug.cgi?id=691958

* Tue Feb 22 2011 dmorgan <dmorgan> 1.7-12.mga1
+ Revision: 56965
- imported package ldapvi