Blame SPECS/tcl-pgtcl.spec

639303
Name:		tcl-pgtcl
639303
Version:	2.0.0
639303
Release:	5%{?dist}
639303
Summary:	A Tcl client library for PostgreSQL
639303
639303
Group:		Applications/Databases
639303
URL:		http://sourceforge.net/projects/pgtclng/
639303
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
639303
# recognizes it as an independent license, so we do as well.
639303
License: PostgreSQL
639303
639303
Source0:	http://downloads.sourceforge.net/pgtclng/pgtcl%{version}.tar.gz
639303
# Note that for some reason docs are date-labeled not version-labeled
639303
Source1:	http://downloads.sourceforge.net/pgtclng/pgtcldocs-20110918.zip
639303
639303
Patch1:		pgtcl-no-rpath.patch
639303
639303
Provides:	pgtcl = %{version}-%{release}
639303
# pgtcl was originally shipped as a sub-RPM of the PostgreSQL package;
639303
# these Provides/Obsoletes give a migration path.  Note there is no
639303
# intention of changing the version numbers in future.
639303
Provides:	postgresql-tcl = 8.5.0-1
639303
Obsoletes:	postgresql-tcl < 8.5
639303
639303
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
639303
639303
BuildRequires:	postgresql-devel tcl-devel
639303
BuildRequires:	autoconf
639303
639303
Requires:	tcl(abi) >= 8.5
639303
639303
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
639303
%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
639303
639303
%description
639303
PostgreSQL is an advanced Object-Relational database management system.
639303
The tcl-pgtcl package contains Pgtcl, a Tcl client library for connecting
639303
to a PostgreSQL server.
639303
639303
%prep
639303
%setup -q -n pgtcl%{version}
639303
639303
unzip %{SOURCE1}
639303
PGTCLDOCDIR=`basename %{SOURCE1} .zip`
639303
mv $PGTCLDOCDIR Pgtcl-docs
639303
639303
%patch1 -p1
639303
639303
autoconf
639303
639303
%build
639303
639303
%configure --libdir=%{tcl_sitearch} --with-tcl=%{_libdir}
639303
639303
# note: as of pgtcl 1.5.2, its makefile is not parallel-safe
639303
make all
639303
639303
%install
639303
rm -rf $RPM_BUILD_ROOT
639303
639303
make install DESTDIR=$RPM_BUILD_ROOT
639303
# we don't really need to ship the .h file
639303
rm -f $RPM_BUILD_ROOT%{_includedir}/libpgtcl.h
639303
639303
%clean
639303
rm -rf $RPM_BUILD_ROOT
639303
639303
%files
639303
%defattr(-,root,root,-)
639303
%{_libdir}/tcl%{tcl_version}/pgtcl%{version}/
639303
%doc Pgtcl-docs/*
639303
639303
%changelog
639303
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.0.0-5
639303
- Mass rebuild 2014-01-24
639303
639303
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.0-4
639303
- Mass rebuild 2013-12-27
639303
639303
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3
639303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
639303
639303
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
639303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
639303
639303
* Sun Feb  5 2012 Tom Lane <tgl@redhat.com> 2.0.0-1
639303
- Update to pgtcl 2.0.0
639303
- Update URLs to reference new project site at sourceforge
639303
639303
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-3
639303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
639303
639303
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
639303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
639303
639303
* Wed Dec 29 2010 Tom Lane <tgl@redhat.com> 1.8.0-1
639303
- Update to pgtcl 1.8.0.
639303
- Relabel license as PostgreSQL now that that's separately recognized by OSI.
639303
639303
* Thu Jan 21 2010 Tom Lane <tgl@redhat.com> 1.6.2-3
639303
- Correct Source: tags and comment to reflect how to get the tarball.
639303
639303
* Tue Nov 24 2009 Tom Lane <tgl@redhat.com> 1.6.2-2
639303
- Fix License tag as per discussion in PyGreSQL package review request.
639303
Related: #452321
639303
639303
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 1.6.2-1
639303
- Created package by stripping down postgresql specfile and adjusting
639303
  to meet current packaging guidelines for Tcl extensions.