|
|
a50bb45 |
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
a50bb45 |
|
|
|
a50bb45 |
Name: glite-lb-client
|
|
|
3899ca9 |
Version: 6.0.10
|
|
|
1e39ead |
Release: 3%{?dist}
|
|
|
a50bb45 |
Summary: gLite Logging and Bookkeeping client library
|
|
|
a50bb45 |
|
|
|
a50bb45 |
License: ASL 2.0
|
|
|
312ee26 |
URL: http://glite.cern.ch
|
|
|
a50bb45 |
Source: http://scientific.zcu.cz/emi/emi.lb.client/%{name}-%{version}.tar.gz
|
|
|
41b65e7 |
# multilib %%{name}-devel
|
|
|
41b65e7 |
# https://github.com/CESNET/glite-lb/commit/8ee6d05aef5e988d6f7e6add0aa97ebbc05ae94d
|
|
|
41b65e7 |
Patch0: unify-headers.patch
|
|
|
a50bb45 |
|
|
|
312ee26 |
%if 0%{?rhel} <= 6 && ! 0%{?fedora}
|
|
|
a50bb45 |
BuildRequires: classads-devel
|
|
|
a50bb45 |
%else
|
|
|
a50bb45 |
BuildRequires: condor-classads-devel
|
|
|
a50bb45 |
%endif
|
|
|
a50bb45 |
BuildRequires: cppunit-devel
|
|
|
a50bb45 |
BuildRequires: glite-lb-types
|
|
|
a50bb45 |
BuildRequires: glite-jobid-api-c-devel
|
|
|
a50bb45 |
BuildRequires: glite-jobid-api-cpp-devel
|
|
|
a50bb45 |
BuildRequires: glite-lb-common-devel
|
|
|
a50bb45 |
BuildRequires: glite-lbjp-common-gss-devel
|
|
|
a50bb45 |
BuildRequires: glite-lbjp-common-trio-devel
|
|
|
a50bb45 |
BuildRequires: libtool
|
|
|
a50bb45 |
BuildRequires: perl
|
|
|
a50bb45 |
BuildRequires: perl(Getopt::Long)
|
|
|
a50bb45 |
BuildRequires: perl(POSIX)
|
|
|
a50bb45 |
BuildRequires: pkgconfig
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%description
|
|
|
a50bb45 |
glite-lb-client is the library implementing client side of gLite Logging and
|
|
|
a50bb45 |
Bookkeeping API.
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%package devel
|
|
|
a50bb45 |
Summary: Development files for gLite L&B client library
|
|
|
a50bb45 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
a50bb45 |
Requires: glite-lb-common-devel%{?_isa}
|
|
|
a50bb45 |
Requires: glite-jobid-api-c-devel%{?_isa}
|
|
|
a50bb45 |
Requires: glite-jobid-api-cpp-devel
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%description devel
|
|
|
a50bb45 |
This package contains development libraries and header files for gLite L&B
|
|
|
a50bb45 |
client library.
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%package progs
|
|
|
a50bb45 |
Summary: gLite L&B client programs and examples
|
|
|
a50bb45 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%description progs
|
|
|
a50bb45 |
This package contains client programs and examples for gLite L&B.
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%prep
|
|
|
a50bb45 |
%setup -q
|
|
|
41b65e7 |
%patch0 -p2
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%build
|
|
|
312ee26 |
perl ./configure --root=/ --prefix=%{_prefix} --libdir=%{_lib} --docdir=%{_pkgdocdir}
|
|
|
a50bb45 |
CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%install
|
|
|
3899ca9 |
make install DESTDIR=%{buildroot}
|
|
|
a50bb45 |
# another installed documentation can't be combined with %%doc on EPEL 5/6,
|
|
|
312ee26 |
# install these files here instead
|
|
|
3899ca9 |
install -m 0644 ChangeLog LICENSE %{buildroot}%{_pkgdocdir}
|
|
|
3899ca9 |
rm -f %{buildroot}%{_libdir}/*.a
|
|
|
3899ca9 |
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%post -p /sbin/ldconfig
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%postun -p /sbin/ldconfig
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%files
|
|
|
a50bb45 |
%dir %{_pkgdocdir}/
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_client.so.14
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_client.so.14.*
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_clientpp.so.14
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_clientpp.so.14.*
|
|
|
a50bb45 |
%{_pkgdocdir}/ChangeLog
|
|
|
a50bb45 |
%{_pkgdocdir}/LICENSE
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%files devel
|
|
|
a50bb45 |
%dir %{_pkgdocdir}/examples/
|
|
|
a50bb45 |
%dir %{_datadir}/emi/
|
|
|
a50bb45 |
%dir %{_datadir}/emi/build/
|
|
|
a50bb45 |
%dir %{_datadir}/emi/build/m4/
|
|
|
a50bb45 |
%{_includedir}/glite/lb/*.h
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_client.so
|
|
|
a50bb45 |
%{_libdir}/libglite_lb_clientpp.so
|
|
|
a50bb45 |
%{_libdir}/pkgconfig/*.pc
|
|
|
a50bb45 |
%{_pkgdocdir}/examples/*
|
|
|
a50bb45 |
%{_datadir}/emi/build/m4/glite_lb.m4
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%files progs
|
|
|
a50bb45 |
%dir %{_libdir}/glite-lb/
|
|
|
a50bb45 |
%dir %{_libdir}/glite-lb/examples/
|
|
|
a50bb45 |
%{_bindir}/glite-lb-logevent
|
|
|
a50bb45 |
%{_bindir}/glite-lb-notify
|
|
|
a50bb45 |
%{_bindir}/glite-lb-register_sandbox
|
|
|
a50bb45 |
%{_libdir}/glite-lb/examples/*
|
|
|
a50bb45 |
%{_pkgdocdir}/README-notify
|
|
|
a50bb45 |
%{_mandir}/man1/glite-lb-notify.1*
|
|
|
a50bb45 |
%{_mandir}/man1/glite-lb-logevent.1*
|
|
|
a50bb45 |
|
|
|
a50bb45 |
|
|
|
a50bb45 |
%changelog
|
|
|
1e39ead |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.10-3
|
|
|
1e39ead |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
1e39ead |
|
|
|
41b65e7 |
* Thu Jun 26 2014 František Dvořák <valtri@civ.zcu.cz> - 6.0.10-2
|
|
|
41b65e7 |
- Patch for multilib %%{name}-devel
|
|
|
41b65e7 |
|
|
|
3899ca9 |
* Thu Jun 26 2014 František Dvořák <valtri@civ.zcu.cz> - 6.0.10-1
|
|
|
3899ca9 |
- New release 6.0.10 (L&B 4.1.2)
|
|
|
3899ca9 |
- Consistent style with buildroot macro
|
|
|
3899ca9 |
|
|
|
5634bcb |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.9-2
|
|
|
5634bcb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5634bcb |
|
|
|
312ee26 |
* Sat May 31 2014 František Dvořák <valtri@civ.zcu.cz> - 6.0.9-1
|
|
|
312ee26 |
- New release 6.0.9 (L&B 4.1.1)
|
|
|
312ee26 |
|
|
|
312ee26 |
* Fri Dec 06 2013 František Dvořák <valtri@civ.zcu.cz> - 6.0.8-2
|
|
|
a50bb45 |
- Using * glob for manpages
|
|
|
a50bb45 |
|
|
|
a50bb45 |
* Fri Nov 22 2013 František Dvořák <valtri@civ.zcu.cz> - 6.0.8-1
|
|
|
a50bb45 |
- Initial package
|