%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: globus-xioperf %global _name %(tr - _ <<< %{name}) Version: 4.4 Release: 2%{?dist} Summary: Globus Toolkit - XIO Performance Tool Group: Applications/Internet License: ASL 2.0 URL: http://www.globus.org/ Source: http://www.globus.org/ftppub/gt6/packages/%{_name}-%{version}.tar.gz # README file Source8: GLOBUS-XIO BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: globus-common-devel >= 15 BuildRequires: globus-xio-devel >= 3 %description The Globus Toolkit is an open source software toolkit used for building Grid systems and applications. It is being developed by the Globus Alliance and many others all over the world. A growing number of projects and companies are using the Globus Toolkit to unlock the potential of grids for their cause. The %{name} package contains: XIO Performance Tool %prep %setup -q -n %{_name}-%{version} %build # Reduce overlinking export LDFLAGS="-Wl,--as-needed -Wl,-z,defs %{?__global_ldflags}" %configure --disable-static \ --includedir='${prefix}/include/globus' \ --libexecdir='${datadir}/globus' \ --docdir=%{_pkgdocdir} # Reduce overlinking sed 's!CC \(.*-shared\) !CC \\\${wl}--as-needed \1 !' -i libtool make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Install README file install -m 644 -p %{SOURCE8} %{buildroot}%{_pkgdocdir}/README # Remove license file from pkgdocdir if licensedir is used %{?_licensedir: rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE} %clean rm -rf %{buildroot} %files %{_bindir}/globus-xioperf %dir %{_pkgdocdir} %doc %{_pkgdocdir}/README %{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE} %{?_licensedir: %license GLOBUS_LICENSE} %changelog * Fri Jan 23 2015 Mattias Ellert - 4.4-2 - Implement updated license packaging guidelines * Fri Sep 12 2014 Mattias Ellert - 4.4-1 - Update to Globus Toolkit 6.0 - Drop GPT build system and GPT packaging metadata * Sat Aug 16 2014 Fedora Release Engineering - 3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Brent Baude - 3.1-8 - Changing ppc64 arch to power64 macro * Sat Aug 03 2013 Fedora Release Engineering - 3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jul 28 2013 Mattias Ellert - 3.1-6 - Implement updated packaging guidelines * Tue May 21 2013 Mattias Ellert - 3.1-5 - Add aarch64 to the list of 64 bit platforms * Wed Feb 13 2013 Fedora Release Engineering - 3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Dec 07 2012 Mattias Ellert - 3.1-3 - Specfile clean-up * Thu Jul 19 2012 Fedora Release Engineering - 3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Apr 28 2012 Mattias Ellert - 3.1-1 - Update to Globus Toolkit 5.2.1 - Drop patch globus-xioperf-desc.patch (fised upstream) * Tue Jan 24 2012 Mattias Ellert - 3.0-2 - Fix broken links in README file * Fri Dec 16 2011 Mattias Ellert - 3.0-1 - Autogenerated