rpms/python-HTMLgen/devel python-HTMLgen.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Wed Mar 16 17:17:01 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/python-HTMLgen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6610/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-HTMLgen.spec 
Log Message:
auto-import python-HTMLgen-2.2.2-0.iva.1 on branch devel from python-HTMLgen-2.2.2-0.iva.1.src.rpm
Initial import


--- NEW FILE python-HTMLgen.spec ---
%{!?pyver: %define pyver %(python -c 'import sys;print(sys.version[0:3])')}
%define mainpyver %(python -c 'import sys;print(sys.version[0:3])')

%define version 2.2.2

%if "%{pyver}" == "%{mainpyver}"
%define name python-HTMLgen
%define prov python%{pyver}-htmlgen = %{version} python-htmlgen = %{version}
%else
%define name python%{pyver}-HTMLgen
%define prov python%{pyver}-htmlgen = %{version}
%endif

Name:           %name
Version:        %version
Release:        0.iva.1
Summary:        A class library for the generation of HTML documents

Group:          Development/Libraries
License:        See Source
URL:            http://starship.python.net/lib.html
Source0:        http://starship.python.net/crew/friedrich/HTMLgen.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Provides:       %{prov}
BuildRequires:  python-abi = %{pyver}
Requires:       python-abi = %{pyver}
Provides:       HTMLgen = %{version}
BuildArch:      noarch

%description
HTMLgen is a class library for the generation of HTML documents with Python scripts. It's used when you want to create HTML pages containing information which changes from time to time.

%prep
%setup -q -c htmlgen

%build

%install
rm -rf $RPM_BUILD_ROOT
install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages
for file in HTMLgen.py HTMLcolors.py HTMLutil.py HTMLcalendar.py barchart.py colorcube.py imgsize.py NavLinks.py Formtools.py ImageH.py ImageFileH.py ImagePaletteH.py GifImagePluginH.py JpegImagePluginH.py PngImagePluginH.py; do
  install -m 0644 HTMLgen/$file $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages
done
python%{pyver} %{_libdir}/python%{pyver}/compileall.py $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages
python%{pyver} -O %{_libdir}/python%{pyver}/compileall.py $RPM_BUILD_ROOT%{_libdir}/python%{pyver}/site-packages

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_libdir}/python%pyver/site-packages/*.py
%{_libdir}/python%pyver/site-packages/*.py[co]

%changelog
* Thu Mar 10 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.2.2-0.iva.1
- Name changed to python-HTMLgen to match module import
- %pyver cleanups

* Thu Jan 20 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 2.2.2-0.iva.0
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-HTMLgen/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Mar 2005 17:16:31 -0000	1.1
+++ .cvsignore	16 Mar 2005 17:16:59 -0000	1.2
@@ -0,0 +1 @@
+HTMLgen.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-HTMLgen/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Mar 2005 17:16:31 -0000	1.1
+++ sources	16 Mar 2005 17:16:59 -0000	1.2
@@ -0,0 +1 @@
+cd20f8b63d3215e57289ddbf56c97f48  HTMLgen.tar.gz




More information about the fedora-extras-commits mailing list