Index: trunk/server/fedora/Makefile
===================================================================
--- trunk/server/fedora/Makefile	(revision 2091)
+++ trunk/server/fedora/Makefile	(revision 2092)
@@ -22,5 +22,5 @@
 hackage		= MonadCatchIO-mtl-0.3.0.2 cgi-3001.1.8.2 unix-handle-0.0.0
 upstream_hackage = ghc-MonadCatchIO-mtl ghc-cgi ghc-unix-handle
-upstream	= openafs $(upstream_yum) $(upstream_hackage) moira zephyr zephyr.i686 python-zephyr athena-aclocal discuss
+upstream	= openafs $(upstream_yum) $(upstream_hackage) moira zephyr zephyr.i686 python-zephyr python-afs athena-aclocal discuss
 oursrc		= execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd athrun php_scripts scripts-wizard scripts-base scripts-static-cat
 allsrc		= $(upstream) $(oursrc)
@@ -76,4 +76,5 @@
 	cp -a $(hackage:%=~/.cabal/packages/*/*/*/%.tar.gz) $(tmp_src)
 	spectool -g -R $(specs)/python-zephyr.spec
+	spectool -g -R $(specs)/python-afs.spec
 	touch download_stamp
 
Index: trunk/server/fedora/specs/python-afs.spec
===================================================================
--- trunk/server/fedora/specs/python-afs.spec	(revision 2092)
+++ trunk/server/fedora/specs/python-afs.spec	(revision 2092)
@@ -0,0 +1,49 @@
+Name:           python-afs
+Version:        0.1.1
+%define commit_hash dceee3da
+%define tag_hash fb29c26
+Release:        0.%{scriptsversion}%{?dist}
+Summary:        Python access to AFS library
+
+Group:          Development/Languages
+License:        GPL
+URL:            http://github.com/ebroder/pyafs
+Source0:        http://github.com/ebroder/pyafs/tarball/%{version}/ebroder-%{name}-%{version}-0-g%{commit_hash}.tar.gz
+Patch1:         https://github.com/ebroder/pyafs/commit/94a09d55edd7d3c1b53424ee1a39245db751c5e9.patch
+Patch2:         https://github.com/ebroder/pyafs/commit/d6425bd9fa52034a2a62ed95c8fec8cbcfd2707d.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  python-devel, python-setuptools, Cython, openafs-devel, openafs-authlibs-devel, krb5-devel
+
+%description
+Get at AFS from Python.
+
+
+%prep
+%setup -q -n ebroder-pyafs-%{tag_hash}
+%patch1 -p1
+%patch2 -p1
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="-I%{_includedir}/et" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%{python_sitearch}/*
+
+
+%changelog
+* Thu Dec 15 2011 Alex Dehnert <adehnert@mit.edu> - 0.1.1
+- Initial RPM release
+
