krbVmodule python-krbV.spec, NONE, 1.1 Makefile.am, 1.9, 1.10 configure.in, 1.15, 1.16 python-krbV.spec.in, 1.2, NONE

Mike Bonnet (mikeb) fedora-extras-commits at redhat.com
Mon Jun 19 17:38:40 UTC 2006


Author: mikeb

Update of /cvs/devel/krbVmodule
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25499

Modified Files:
	Makefile.am configure.in 
Added Files:
	python-krbV.spec 
Removed Files:
	python-krbV.spec.in 
Log Message:
remove spec file interpolation to facilitate building from cvs


--- NEW FILE python-krbV.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True)")} 

Name: python-krbV
Version: %(/bin/awk '/AM_INIT_AUTOMAKE/ { print substr($2, 0, length($2)-1) }' configure.in)
Release: 3%{?dist}
Summary: Python extension module for Kerberos 5

Group: Development/Languages
License: LGPL

Source: python-krbV-%{version}.tar.gz

Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: python
BuildRequires: python-devel
BuildRequires: krb5-devel >= 1.2.2
BuildRequires: /bin/awk

Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Requires: krb5-libs >= 1.2.2

%description
python-krbV allows python programs to use Kerberos 5 authentication/security.

%prep
%setup -q -n python-krbV-%{version}

%build
export LIBNAME=%{_lib}
export CFLAGS="%{optflags} -Wextra"
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} %{python_sitelib}
%makeinstall
%{__rm} -f $RPM_BUILD_ROOT%{python_sitelib}/*.la

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README krbV-code-snippets.py
%{python_sitelib}/krbVmodule.so

%changelog
* Fri Mar 24 2006 Mike Bonnet <mikeb at redhat.com>
- fix typo in error definition
- change the return value of recvauth() from ac to (ac, princ), where princ is the principal sent by sendauth()
- rename the package and reorganize the BuildRequires, to be more Extras-friendly

* Tue Sep 25 2001 Elliot Lee <sopwith at redhat.com>
- Initial version


Index: Makefile.am
===================================================================
RCS file: /cvs/devel/krbVmodule/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile.am	3 Apr 2006 23:40:28 -0000	1.9
+++ Makefile.am	5 Apr 2006 07:17:08 -0000	1.10
@@ -13,9 +13,6 @@
 krb5defines.h: $(DEFFILES) gendefines.awk
 	awk -f $(srcdir)/gendefines.awk $(DEFFILES) > $@
 
-EXTRA_DIST=gendefines.awk python-krbV.spec.in krbV-code-snippets.py
+EXTRA_DIST=gendefines.awk python-krbV.spec krbV-code-snippets.py
 BUILT_SOURCES=krb5defines.h
 CLEANFILES=krb5defines.h
-
-dist-hook: python-krbV.spec
-	cp python-krbV.spec $(distdir)


Index: configure.in
===================================================================
RCS file: /cvs/devel/krbVmodule/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- configure.in	3 Apr 2006 23:40:28 -0000	1.15
+++ configure.in	5 Apr 2006 07:17:08 -0000	1.16
@@ -31,5 +31,4 @@
 
 AC_OUTPUT([
 Makefile
-python-krbV.spec
 ])


--- python-krbV.spec.in DELETED ---




More information about the fedora-extras-commits mailing list