Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > aee90663d2db1735acd0ddc00f851fdc > files > 2

grid-packaging-tools-3.6.7-1.fc18.src.rpm

%{!?perl_vendorlib: %global perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}

Name:		grid-packaging-tools
Version:	3.6.7
Release:	1%{?dist}
Summary:	Grid Packaging Tools (GPT)

Group:		Development/Tools
License:	NCSA
URL:		http://www.gridpackagingtools.com/
#		Maintenance of GPT has been taken over by Globus.
#		Use the latest source tarball from their repository.
Source:		http://www.globus.org/ftppub/gt5/5.2/5.2.5/packages/src/gpt-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	libtool
BuildRequires:	perl
%if %{?fedora}%{!?fedora:0} >= 19 || %{?rhel}%{!?rhel:0} >= 7
BuildRequires:	perl-podlators
%endif
Requires:	gzip
Requires:	tar
Requires:	autoconf
Requires:	automake
Requires:	libtool
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:	noarch

%description
GPT is a collection of packaging tools built around an XML based
packaging data format. This format provides a straight forward way to
define complex dependency and compatibility relationships between
packages. The tools provide a means for developers to easily define the
packaging data and include it as part of their source code distribution.
Binary packages can be automatically generated from this data. The
packages defined by GPT are compatible with other packages and can be
easily converted.

%prep
%setup -q -n gpt-%{version}

touch aclocal.m4
touch Makefile.in
touch configure

%build
unset GLOBUS_LOCATION
unset GPT_LOCATION
%configure --libexecdir='${datadir}/globus' \
	   --with-perlmoduledir=%{perl_vendorlib}
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make install DESTDIR=%{buildroot}

# Remove references to libdir so that the package is architecture independent
sed '/^$libdir/d' -i %{buildroot}%{_sbindir}/* \
    %{buildroot}%{perl_vendorlib}/Grid/GPT/PkgMngmt/SetupBuildFlavors.pm \
    %{buildroot}%{perl_vendorlib}/Grid/GPT/Locations.pm

# Remove old globus core source tarball - users should install an up-to-date
# globus-core package instead of having gpt compile it from source
rm %{buildroot}%{_datadir}/globus/gpt/globus_core-src.tar.gz

chmod 644 %{buildroot}%{_datadir}/globus/gpt/gpt_noinstaller

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README
%{_sbindir}/*
%{_datadir}/globus
%{_mandir}/man8/*
%{perl_vendorlib}/Grid

%changelog
* Wed Nov 06 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.6.7-1
- Update to version 3.6.7 (GT 5.2.5)
- Drop patches implemented upstream

* Mon Sep 02 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.6.3-6
- Move flavor definitions to dev

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.6.3-4
- Perl 5.18 rebuild

* Sun Mar 24 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.6.3-3
- Add --force-missing to automake call in gpt-bootstrap.sh

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
- Add BR on perl-podlators for Fedora 19+

* Thu Dec 06 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.6.3-1
- Update to version 3.6.3

* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 3.6.2-2
- Perl 5.16 rebuild

* Fri Apr 27 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.6.2-1
- Update to version 3.6.2
- Drop patches implemented upstream

* Mon Jan 23 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.5-2
- Portability fixes

* Tue Dec 13 2011 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.5-1
- Update to version 3.5
- Drop patches implemented upstream

* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.2-26
- Perl mass rebuild

* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.2-25
- Perl 5.14 mass rebuild

* Thu Mar 24 2011 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-24
- Fix problem with special characters in buildroot path

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.2-22
- Mass rebuild with perl-5.12.0

* Fri Dec 04 2009 Stepan Kasal <skasal@redhat.com> - 3.2-21
- rebuild against perl 5.10.1

* Mon Aug 03 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-20
- Rename config.guess script

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed May 27 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-18
- Make GPT work with automake 1.11

* Thu Mar 26 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-17
- Adding wrong-url patch

* Mon Mar 16 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-16
- Adding version-info patch

* Fri Feb 27 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-15
- Newest version of redhat-rpm-config doesn't copy config.guess by default
  in the configure macro anymore - added explicit copy

* Mon Feb 16 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-14
- Added BuildRequires on perl
- Moved license charset conversion to prep section
- Added comments with reasons for removing installed files

* Tue Dec 16 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-13
- change name from gpt to grid-packaging-tools to avoid potential confusion
  with ubuntu's gpt package (G-Portugol)

* Tue Dec 09 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-12
- Make gpt work with older automake versions

* Sat Oct 04 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-11
- Add some backward compatibility
- Make perl module directory configurable

* Sun Jul 13 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-10
- use the sources from Globus Alliance since those are maintained
- split the big FHS patch into several smaller ones
- change name back gpt again

* Wed Jul 02 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-9
- change name from gpt to grid-packaging-tools

* Wed Jul 02 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-8
- Convert to noarch package

* Tue Jun 24 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-7
- Add export of GPT_AGE_VERSION

* Sat Jun 21 2008 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.2-6
- Install in /usr instead of /opt/gpt - quite some work...
- Make it work without having GPT_LOCATION set if we are in /usr
- Drop the /etc/profile.d scripts (not needed since we are now in /usr)
- Do not build and install dependencies - use system versions
- Use RPM Group "Development/Tools"

* Tue Jun 19 2007 Anders Wäänänen <waananen@nbi.dk> - 3.2-5ng
- Add dist tag to release
- Change BuildRoot

* Wed Jun 01 2005 Anders Wäänänen <waananen@nbi.dk> - 3.2-4ng
- Add fix to setup dir handling
- Restructure changelog to have versions on main line

* Fri Mar 18 2005 Anders Wäänänen <waananen@nbi.dk> - 3.2-3ng
- Add patch to fix globus_package.dtd

* Tue Mar 01 2005 Anders Wäänänen <waananen@nbi.dk> - 3.2-2ng
- Add patch with fixes from the Globus 3.9.5 GPT release
  (Do not include the core though)

* Fri May 21 2004 Anders Wäänänen <waananen@nbi.dk> - 3.2-1ng

* Sun Feb 01 2004 Anders Wäänänen <waananen@nbi.dk> - 3.1-3ng
- Fix problem when new files are links rather than directories

* Thu Jan 08 2004 Anders Wäänänen <waananen@nbi.dk> - 3.1-2ng
- Fix for Mandrake 9.2 - unset RPM_BUILD_ROOT before building
  Found by Jakob Langgaard Nielsen <langgard@nbi.dk>

* Sat Jan 03 2004 Anders Wäänänen <waananen@nbi.dk> - 3.1-1ng
- Drop patches: gpt-3.0.1-dependency.patch, gpt-3.0.1-doc.patch
  since the problems involved are either solved or obsolete
- Make /etc/profile.d relocatable
- Use gpt_location macro to define GPT_LOCATION
- Use RPM Group "System Environment/Base" instead of Applications
- Slightly change build procedure

* Tue Oct 07 2003 Anders Wäänänen <waananen@nbi.dk> - 3.0.1-1ng
- Remove the now unecessary dependency cleanup introduced in 2.2.10-2ng
- Fix some cases in the documentation

* Tue Jun 24 2003 Anders Wäänänen <waananen@nbi.dk> - 2.2.10-2ng
- Dependency cleanup by Mattias Ellert <mattias.ellert@tsl.uu.se>

* Mon Jun 23 2003 Anders Wäänänen <waananen@nbi.dk> - 2.2.10-1ng

* Tue Mar 22 2003 Anders Wäänänen <waananen@nbi.dk> - 2.2.9-1ng
- Add bogus perl(Grid::GPT::Version) provides to help rpm

* Tue Mar 04 2003 Anders Wäänänen <waananen@nbi.dk> - 2.2.8-1ng

* Tue Dec 05 2002 Anders Wäänänen <waananen@nbi.dk> - 2.2.7-1ng

* Tue Nov 05 2002 Anders Wäänänen <waananen@nbi.dk> - 2.2.5-1ng
- Remove Tk dependence for RedHat 8.0

* Tue Oct 29 2002 Anders Wäänänen <waananen@nbi.dk> - 2.2.4-2ng
- Insert missing backslash in csh profile script

* Tue Sep 24 2002 Anders Wäänänen <waananen@nbi.dk>
- Use 2.2 final

* Sat Aug 31 2002 Anders Wäänänen <waananen@nbi.dk>
- Use 2.2rc1 tarball from Globus CVS

* Thu Aug 15 2002 Anders Wäänänen <waananen@nbi.dk>
- Use NCSA distribution instead of Globus

* Mon Apr 08 2002 Anders Wäänänen <waananen@nbi.dk>
- Initial build.