b547e01
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
b547e01
c20886b
Name:		globus-authz
c20886b
%global _name %(tr - _ <<< %{name})
dc639dd
Version:	3.15
6a6eaeb
Release:	2%{?dist}
c20886b
Summary:	Globus Toolkit - Globus authz library
c20886b
c20886b
Group:		System Environment/Libraries
c20886b
License:	ASL 2.0
dcd38a6
URL:		http://toolkit.globus.org/
dcd38a6
Source:		http://toolkit.globus.org/ftppub/gt6/packages/%{_name}-%{version}.tar.gz
a38c917
#		README file
a38c917
Source8:	GLOBUS-GSIC
c20886b
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c20886b
65e0941
BuildRequires:	globus-common-devel >= 15
b547e01
BuildRequires:	globus-callout-devel >= 2
b547e01
BuildRequires:	globus-gssapi-gsi-devel >= 9
65e0941
BuildRequires:	globus-authz-callout-error-devel >= 2
65e0941
BuildRequires:	globus-gsi-sysconfig-devel >= 5
c20886b
BuildRequires:	doxygen
65e0941
#		Additional requirements for make check
65e0941
BuildRequires:	openssl
c20886b
c20886b
%package devel
c20886b
Summary:	Globus Toolkit - Globus authz library Development Files
c20886b
Group:		Development/Libraries
c20886b
Requires:	%{name}%{?_isa} = %{version}-%{release}
65e0941
Requires:	globus-common-devel%{?_isa} >= 15
64ed77b
Requires:	globus-callout-devel%{?_isa} >= 2
64ed77b
Requires:	globus-gssapi-gsi-devel%{?_isa} >= 9
65e0941
Requires:	globus-authz-callout-error-devel%{?_isa} >= 2
65e0941
Requires:	globus-gsi-sysconfig-devel%{?_isa} >= 5
c20886b
c20886b
%package doc
c20886b
Summary:	Globus Toolkit - Globus authz library Documentation Files
c20886b
Group:		Documentation
c20886b
%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
c20886b
BuildArch:	noarch
c20886b
%endif
c20886b
c20886b
%description
c20886b
The Globus Toolkit is an open source software toolkit used for building Grid
c20886b
systems and applications. It is being developed by the Globus Alliance and
c20886b
many others all over the world. A growing number of projects and companies are
c20886b
using the Globus Toolkit to unlock the potential of grids for their cause.
c20886b
c20886b
The %{name} package contains:
c20886b
Globus authz library
c20886b
c20886b
%description devel
c20886b
The Globus Toolkit is an open source software toolkit used for building Grid
c20886b
systems and applications. It is being developed by the Globus Alliance and
c20886b
many others all over the world. A growing number of projects and companies are
c20886b
using the Globus Toolkit to unlock the potential of grids for their cause.
c20886b
c20886b
The %{name}-devel package contains:
c20886b
Globus authz library Development Files
c20886b
c20886b
%description doc
c20886b
The Globus Toolkit is an open source software toolkit used for building Grid
c20886b
systems and applications. It is being developed by the Globus Alliance and
c20886b
many others all over the world. A growing number of projects and companies are
c20886b
using the Globus Toolkit to unlock the potential of grids for their cause.
c20886b
c20886b
The %{name}-doc package contains:
c20886b
Globus authz library Documentation Files
c20886b
c20886b
%prep
c20886b
%setup -q -n %{_name}-%{version}
c20886b
c20886b
%build
65e0941
# Reduce overlinking
65e0941
export LDFLAGS="-Wl,--as-needed -Wl,-z,defs %{?__global_ldflags}"
c20886b
65e0941
%configure --disable-static \
65e0941
	   --includedir='${prefix}/include/globus' \
65e0941
	   --libexecdir='${datadir}/globus' \
65e0941
	   --docdir=%{_pkgdocdir}
64ed77b
64ed77b
# Reduce overlinking
57d37cb
sed 's!CC \(.*-shared\) !CC \\\${wl}--as-needed \1 !' -i libtool
c20886b
c20886b
make %{?_smp_mflags}
c20886b
c20886b
%install
4afa521
rm -rf %{buildroot}
4afa521
make install DESTDIR=%{buildroot}
c20886b
c20886b
# Remove libtool archives (.la files)
65e0941
rm %{buildroot}%{_libdir}/*.la
c20886b
a38c917
# Install README file
b547e01
install -m 644 -p %{SOURCE8} %{buildroot}%{_pkgdocdir}/README
a38c917
57d37cb
# Remove license file from pkgdocdir if licensedir is used
57d37cb
%{?_licensedir: rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE}
57d37cb
65e0941
%check
57d37cb
make %{?_smp_mflags} check VERBOSE=1
c20886b
b547e01
%clean
b547e01
rm -rf %{buildroot}
b547e01
c20886b
%post -p /sbin/ldconfig
c20886b
c20886b
%postun -p /sbin/ldconfig
c20886b
65e0941
%files
65e0941
%{_libdir}/libglobus_authz.so.*
b547e01
%dir %{_pkgdocdir}
b547e01
%doc %{_pkgdocdir}/README
57d37cb
%{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE}
57d37cb
%{?_licensedir: %license GLOBUS_LICENSE}
c20886b
65e0941
%files devel
65e0941
%{_includedir}/globus/*
65e0941
%{_libdir}/libglobus_authz.so
65e0941
%{_libdir}/pkgconfig/%{name}.pc
c20886b
65e0941
%files doc
65e0941
%doc %{_mandir}/man3/*
65e0941
%dir %{_pkgdocdir}
b547e01
%dir %{_pkgdocdir}/html
65e0941
%doc %{_pkgdocdir}/html/*
57d37cb
%{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE}
57d37cb
%{?_licensedir: %license GLOBUS_LICENSE}
c20886b
c20886b
%changelog
6a6eaeb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.15-2
6a6eaeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6a6eaeb
dc639dd
* Fri Nov 04 2016 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.15-1
dc639dd
- GT6 update
dc639dd
6a3a781
* Thu Sep 01 2016 Mattias Ellert <mattias.ellert@physics.uu.se> - 3.14-1
6a3a781
- GT6 update: Updates for OpenSSL 1.1.0
6a3a781
bad3fb6
* Mon May 02 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.12-1
bad3fb6
- GT6 update
bad3fb6
a3a1570
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-3
a3a1570
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a3a1570
97fa32c
* Wed Jan 13 2016 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.11-2
97fa32c
- Extra rebuild for EPEL 7 ppc64le
97fa32c
acc6980
* Wed Nov 25 2015 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.11-1
acc6980
- GT6 update (updated tests)
acc6980
6338f8a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-3
6338f8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6338f8a
57d37cb
* Fri Jan 23 2015 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.10-2
57d37cb
- Implement updated license packaging guidelines
57d37cb
e922c2f
* Sun Oct 26 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.10-1
e922c2f
- GT6 update
e922c2f
- Drop patches globus-authz-doxygen.patch and globus-authz-deps.patch
e922c2f
  (fixed upstream)
e922c2f
65e0941
* Fri Sep 12 2014 Mattias Ellert <mattias.ellert@fysast.uu.se> - 3.9-1
65e0941
- Update to Globus Toolkit 6.0
65e0941
- Drop GPT build system and GPT packaging metadata
65e0941
- Enable checks
65e0941
1fcf13b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-11
1fcf13b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1fcf13b
028d2d6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10
028d2d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
028d2d6
Brent Baude 0a353b4
* Tue May 20 2014 Brent Baude <baude@us.ibm.com> - 2.2-9
Brent Baude 0a353b4
- Replace arch def of ppc64 with power64 macro for ppc64le enablement
Brent Baude 0a353b4
048a85b
* Fri Oct 25 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.2-8
048a85b
- Remove obsolete workaround for broken RHEL 5 epstopdf
048a85b
d725c5b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-7
d725c5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d725c5b
b547e01
* Sun Jul 28 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.2-6
b547e01
- Implement updated packaging guidelines
b547e01
57d6146
* Tue May 21 2013 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.2-5
57d6146
- Add aarch64 to the list of 64 bit platforms
57d6146
a6b4575
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-4
a6b4575
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a6b4575
4afa521
* Thu Dec 06 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.2-3
4afa521
- Add build requires for TexLive 2012
4afa521
cdaf656
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
cdaf656
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cdaf656
5491a90
* Fri Apr 27 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.2-1
5491a90
- Update to Globus Toolkit 5.2.1
5491a90
- Drop patch globus-authz-doxygen.patch (fixed upstream)
5491a90
d93f5b2
* Tue Jan 24 2012 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.1-2
d93f5b2
- Fix broken links in README file
d93f5b2
64ed77b
* Wed Dec 14 2011 Mattias Ellert <mattias.ellert@fysast.uu.se> - 2.1-1
64ed77b
- Update to Globus Toolkit 5.2.0
64ed77b
- Drop patch globus-authz-deps.patch (fixed upstream)
64ed77b
a38c917
* Mon Apr 25 2011 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.7-4
a38c917
- Add README file
a38c917
- Add missing dependencies
a38c917
0763d7e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
0763d7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0763d7e
e92f7e8
* Sat Jan 23 2010 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.7-2
e92f7e8
- Update to Globus Toolkit 5.0.0
e92f7e8
c20886b
* Tue Jul 28 2009 Mattias Ellert <mattias.ellert@fysast.uu.se> - 0.7-1
c20886b
- Autogenerated