[glite-lb-client] Initial import (#1003960).

František Dvořák valtri at fedoraproject.org
Mon Dec 9 17:36:00 UTC 2013


commit a50bb45e66351379a70723f78bd31a258b5503fb
Author: František Dvořák <valtri at civ.zcu.cz>
Date:   Mon Dec 9 18:37:52 2013 +0100

    Initial import (#1003960).

 .gitignore           |    1 +
 glite-lb-client.spec |  117 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f2bc065 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/glite-lb-client-6.0.8.tar.gz
diff --git a/glite-lb-client.spec b/glite-lb-client.spec
new file mode 100644
index 0000000..92c15c9
--- /dev/null
+++ b/glite-lb-client.spec
@@ -0,0 +1,117 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
+Name:           glite-lb-client
+Version:        6.0.8
+Release:        2%{?dist}
+Summary:        gLite Logging and Bookkeeping client library
+
+License:        ASL 2.0
+Url:            http://glite.cern.ch
+Source:         http://scientific.zcu.cz/emi/emi.lb.client/%{name}-%{version}.tar.gz
+
+%if 0%{?rhel}
+BuildRequires:  classads-devel
+%else
+BuildRequires:  condor-classads-devel
+%endif
+BuildRequires:  cppunit-devel
+BuildRequires:  glite-lb-types
+BuildRequires:  glite-jobid-api-c-devel
+BuildRequires:  glite-jobid-api-cpp-devel
+BuildRequires:  glite-lb-common-devel
+BuildRequires:  glite-lbjp-common-gss-devel
+BuildRequires:  glite-lbjp-common-trio-devel
+BuildRequires:  libtool
+BuildRequires:  perl
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(POSIX)
+BuildRequires:  pkgconfig
+
+%description
+glite-lb-client is the library implementing client side of gLite Logging and
+Bookkeeping API.
+
+
+%package        devel
+Summary:        Development files for gLite L&B client library
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       glite-lb-common-devel%{?_isa}
+Requires:       glite-jobid-api-c-devel%{?_isa}
+Requires:       glite-jobid-api-cpp-devel
+
+%description    devel
+This package contains development libraries and header files for gLite L&B
+client library.
+
+
+%package        progs
+Summary:        gLite L&B client programs and examples
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    progs
+This package contains client programs and examples for gLite L&B.
+
+
+%prep
+%setup -q
+
+
+%build
+perl ./configure --root=/ --prefix=%{_prefix} --libdir=%{_lib} --docdir=%{_pkgdocdir} --module lb.client
+CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+# another installed documentation can't be combined with %%doc on EPEL 5/6,
+# install these file here instead
+install -m 0644 LICENSE project/ChangeLog $RPM_BUILD_ROOT%{_pkgdocdir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%dir %{_pkgdocdir}/
+%{_libdir}/libglite_lb_client.so.14
+%{_libdir}/libglite_lb_client.so.14.*
+%{_libdir}/libglite_lb_clientpp.so.14
+%{_libdir}/libglite_lb_clientpp.so.14.*
+%{_pkgdocdir}/ChangeLog
+%{_pkgdocdir}/LICENSE
+
+%files devel
+%dir %{_pkgdocdir}/examples/
+%dir %{_datadir}/emi/
+%dir %{_datadir}/emi/build/
+%dir %{_datadir}/emi/build/m4/
+%{_includedir}/glite/lb/*.h
+%{_libdir}/libglite_lb_client.so
+%{_libdir}/libglite_lb_clientpp.so
+%{_libdir}/pkgconfig/*.pc
+%{_pkgdocdir}/examples/*
+%{_datadir}/emi/build/m4/glite_lb.m4
+
+%files progs
+%dir %{_libdir}/glite-lb/
+%dir %{_libdir}/glite-lb/examples/
+%{_bindir}/glite-lb-logevent
+%{_bindir}/glite-lb-notify
+%{_bindir}/glite-lb-register_sandbox
+%{_libdir}/glite-lb/examples/*
+%{_pkgdocdir}/README-notify
+%{_mandir}/man1/glite-lb-notify.1*
+%{_mandir}/man1/glite-lb-logevent.1*
+
+
+%changelog
+* Fri Dec 06 2013 CESNET Product Teams <emi-lb at metacentrum.cz> - 6.0.8-2
+- Using * glob for manpages
+
+* Fri Nov 22 2013 František Dvořák <valtri at civ.zcu.cz> - 6.0.8-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d33bf2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eeb37b87b923ff66c0f18f33b038b643  glite-lb-client-6.0.8.tar.gz


More information about the scm-commits mailing list