From 10bccf2761f01756629990eb99c6fca1d4f00788 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 16 Dec 2011 13:11:22 +0000 Subject: [PATCH] RPM packaging for EMI2 - L&B/JP common subsystem. --- org.glite.lbjp-common.db/project/.post | 1 - org.glite.lbjp-common.db/project/.postun | 1 - .../project/glite-lbjp-common-db.spec | 98 ++++++++++++++++++++ org.glite.lbjp-common.gsoap-plugin/project/.post | 1 - org.glite.lbjp-common.gsoap-plugin/project/.postun | 1 - .../project/glite-lbjp-common-gsoap-plugin.spec | 103 +++++++++++++++++++++ org.glite.lbjp-common.gss/project/.post | 1 - org.glite.lbjp-common.gss/project/.postun | 1 - .../project/glite-lbjp-common-gss.spec | 97 +++++++++++++++++++ org.glite.lbjp-common.jp-interface/project/.post | 1 - org.glite.lbjp-common.jp-interface/project/.postun | 1 - .../project/glite-lbjp-common-jp-interface.spec | 101 ++++++++++++++++++++ org.glite.lbjp-common.log/project/.post | 1 - org.glite.lbjp-common.log/project/.postun | 1 - .../project/glite-lbjp-common-log.spec | 98 ++++++++++++++++++++ org.glite.lbjp-common.maildir/project/.post | 1 - org.glite.lbjp-common.maildir/project/.postun | 1 - .../project/glite-lbjp-common-maildir.spec | 89 ++++++++++++++++++ org.glite.lbjp-common.server-bones/project/.post | 1 - org.glite.lbjp-common.server-bones/project/.postun | 1 - .../project/glite-lbjp-common-server-bones.spec | 90 ++++++++++++++++++ org.glite.lbjp-common.trio/project/.post | 1 - org.glite.lbjp-common.trio/project/.postun | 1 - .../project/glite-lbjp-common-trio.spec | 93 +++++++++++++++++++ 24 files changed, 769 insertions(+), 16 deletions(-) delete mode 100644 org.glite.lbjp-common.db/project/.post delete mode 100644 org.glite.lbjp-common.db/project/.postun create mode 100644 org.glite.lbjp-common.db/project/glite-lbjp-common-db.spec delete mode 100644 org.glite.lbjp-common.gsoap-plugin/project/.post delete mode 100644 org.glite.lbjp-common.gsoap-plugin/project/.postun create mode 100644 org.glite.lbjp-common.gsoap-plugin/project/glite-lbjp-common-gsoap-plugin.spec delete mode 100644 org.glite.lbjp-common.gss/project/.post delete mode 100644 org.glite.lbjp-common.gss/project/.postun create mode 100644 org.glite.lbjp-common.gss/project/glite-lbjp-common-gss.spec delete mode 100644 org.glite.lbjp-common.jp-interface/project/.post delete mode 100644 org.glite.lbjp-common.jp-interface/project/.postun create mode 100644 org.glite.lbjp-common.jp-interface/project/glite-lbjp-common-jp-interface.spec delete mode 100644 org.glite.lbjp-common.log/project/.post delete mode 100644 org.glite.lbjp-common.log/project/.postun create mode 100644 org.glite.lbjp-common.log/project/glite-lbjp-common-log.spec delete mode 100644 org.glite.lbjp-common.maildir/project/.post delete mode 100644 org.glite.lbjp-common.maildir/project/.postun create mode 100644 org.glite.lbjp-common.maildir/project/glite-lbjp-common-maildir.spec delete mode 100644 org.glite.lbjp-common.server-bones/project/.post delete mode 100644 org.glite.lbjp-common.server-bones/project/.postun create mode 100644 org.glite.lbjp-common.server-bones/project/glite-lbjp-common-server-bones.spec delete mode 100644 org.glite.lbjp-common.trio/project/.post delete mode 100644 org.glite.lbjp-common.trio/project/.postun create mode 100644 org.glite.lbjp-common.trio/project/glite-lbjp-common-trio.spec diff --git a/org.glite.lbjp-common.db/project/.post b/org.glite.lbjp-common.db/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.db/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.db/project/.postun b/org.glite.lbjp-common.db/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.db/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.db/project/glite-lbjp-common-db.spec b/org.glite.lbjp-common.db/project/glite-lbjp-common-db.spec new file mode 100644 index 0000000..28abce7 --- /dev/null +++ b/org.glite.lbjp-common.db/project/glite-lbjp-common-db.spec @@ -0,0 +1,98 @@ +Summary: Virtual package for development with gLite L&B/JP common DB module +Name: glite-lbjp-common-db +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: cppunit-devel +BuildRequires: chrpath +BuildRequires: log4c-devel +BuildRequires: mysql +BuildRequires: mysql-devel +BuildRequires: glite-lbjp-common-trio-devel +BuildRequires: glite-lbjp-common-log-devel +BuildRequires: libtool +BuildRequires: postgresql-devel +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.db/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP common DB module. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP common DB module +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +common DB module. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.db +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%dir /usr/share/doc/%{name}-%{version} +%doc /usr/share/doc/%{name}-%{version}/LICENSE +/usr/%{_lib}/libglite_lbu_db.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_lbu_db.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/lbu +/usr/include/glite/lbu/db.h +/usr/%{_lib}/libglite_lbu_db.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.gsoap-plugin/project/.post b/org.glite.lbjp-common.gsoap-plugin/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.gsoap-plugin/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.gsoap-plugin/project/.postun b/org.glite.lbjp-common.gsoap-plugin/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.gsoap-plugin/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.gsoap-plugin/project/glite-lbjp-common-gsoap-plugin.spec b/org.glite.lbjp-common.gsoap-plugin/project/glite-lbjp-common-gsoap-plugin.spec new file mode 100644 index 0000000..8aa70fe --- /dev/null +++ b/org.glite.lbjp-common.gsoap-plugin/project/glite-lbjp-common-gsoap-plugin.spec @@ -0,0 +1,103 @@ +Summary: Virtual package for development with gLite gsoap-plugin +Name: glite-lbjp-common-gsoap-plugin +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: c-ares-devel +BuildRequires: cppunit-devel +BuildRequires: chrpath +BuildRequires: globus-gssapi-gsi-devel +BuildRequires: gsoap +BuildRequires: gsoap-devel +BuildRequires: glite-lbjp-common-gss-devel +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.gsoap-plugin/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +gsoap-plugin. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite gsoap-plugin +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Requires: glite-lbjp-common-gss-devel +Provides: %{name}%{?_isa} = %{version}-%{release} +Provides: glite-security-gsoap-plugin +Obsoletes: glite-security-gsoap-plugin < 2.0.1-1 + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite +gsoap-plugin. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.gsoap-plugin +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%dir /usr/share/doc/gsoap-plugin-%{version} +%doc /usr/share/doc/gsoap-plugin-%{version}/LICENSE +/usr/%{_lib}/libglite_security_gsoap_plugin_*.so.9.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_security_gsoap_plugin_*.so.9 + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/security +/usr/include/glite/security/glite_gscompat.h +/usr/include/glite/security/glite_gsplugin.h +/usr/include/glite/security/glite_gsplugin-int.h +/usr/%{_lib}/libglite_security_gsoap_plugin_*.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.gss/project/.post b/org.glite.lbjp-common.gss/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.gss/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.gss/project/.postun b/org.glite.lbjp-common.gss/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.gss/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.gss/project/glite-lbjp-common-gss.spec b/org.glite.lbjp-common.gss/project/glite-lbjp-common-gss.spec new file mode 100644 index 0000000..3c6a02f --- /dev/null +++ b/org.glite.lbjp-common.gss/project/glite-lbjp-common-gss.spec @@ -0,0 +1,97 @@ +Summary: Virtual package for development with gLite GSS library +Name: glite-lbjp-common-gss +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: c-ares-devel +BuildRequires: c-ares +BuildRequires: chrpath +BuildRequires: cppunit-devel +BuildRequires: globus-gssapi-gsi-devel +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.gss/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +GSS library. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite GSS library +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} +Provides: glite-security-gss +Obsoletes: glite-security-gss < 2.1.5-1 + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite GSS +library. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.gss +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%dir /usr/share/doc/gss-%{version} +%doc /usr/share/doc/gss-%{version}/LICENSE +/usr/%{_lib}/libglite_security_gss.so.9.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_security_gss.so.9 + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/security +/usr/include/glite/security/glite_gss.h +/usr/%{_lib}/libglite_security_gss.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.jp-interface/project/.post b/org.glite.lbjp-common.jp-interface/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.jp-interface/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.jp-interface/project/.postun b/org.glite.lbjp-common.jp-interface/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.jp-interface/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.jp-interface/project/glite-lbjp-common-jp-interface.spec b/org.glite.lbjp-common.jp-interface/project/glite-lbjp-common-jp-interface.spec new file mode 100644 index 0000000..be74d3d --- /dev/null +++ b/org.glite.lbjp-common.jp-interface/project/glite-lbjp-common-jp-interface.spec @@ -0,0 +1,101 @@ +Summary: Virtual package for development with gLite L&B/JP interface library +Name: glite-lbjp-common-jp-interface +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: chrpath +BuildRequires: cppunit-devel +BuildRequires: glite-jobid-api-c-devel +BuildRequires: glite-lbjp-common-db-devel +BuildRequires: glite-lbjp-common-trio-devel +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.jp-interface/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP interface library. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP interface library +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +interface library. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.jp-interface +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +/usr/%{_lib}/libglite_jp_common.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_jp_common.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/jp +/usr/include/glite/jp/types.h +/usr/include/glite/jp/indexdb.h +/usr/include/glite/jp/attr.h +/usr/include/glite/jp/file_plugin.h +/usr/include/glite/jp/context.h +/usr/include/glite/jp/type_plugin.h +/usr/include/glite/jp/backend.h +/usr/include/glite/jp/known_attr.h +/usr/include/glite/jp/builtin_plugins.h +/usr/%{_lib}/libglite_jp_common.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.log/project/.post b/org.glite.lbjp-common.log/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.log/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.log/project/.postun b/org.glite.lbjp-common.log/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.log/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.log/project/glite-lbjp-common-log.spec b/org.glite.lbjp-common.log/project/glite-lbjp-common-log.spec new file mode 100644 index 0000000..092e2dd --- /dev/null +++ b/org.glite.lbjp-common.log/project/glite-lbjp-common-log.spec @@ -0,0 +1,98 @@ +Summary: Virtual package for development with gLite L&B/JP common log module +Name: glite-lbjp-common-log +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: chrpath +BuildRequires: libtool +BuildRequires: log4c-devel +BuildRequires: log4c +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.log/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP common log module. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP common log module +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +common log module. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.log +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%dir /usr/share/doc/%{name}-%{version} +%dir /etc/glite-lb +%config /etc/glite-lb/log4crc +%doc /usr/share/doc/%{name}-%{version}/LICENSE +%doc /usr/share/doc/%{name}-%{version}/README +%doc /usr/share/doc/%{name}-%{version}/log4crc.example-debugging +%doc /usr/share/doc/%{name}-%{version}/log4crc.example-production +/usr/%{_lib}/libglite_lbu_log.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_lbu_log.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/lbu +/usr/include/glite/lbu/log.h +/usr/%{_lib}/libglite_lbu_log.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.maildir/project/.post b/org.glite.lbjp-common.maildir/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.maildir/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.maildir/project/.postun b/org.glite.lbjp-common.maildir/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.maildir/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.maildir/project/glite-lbjp-common-maildir.spec b/org.glite.lbjp-common.maildir/project/glite-lbjp-common-maildir.spec new file mode 100644 index 0000000..5ac2add --- /dev/null +++ b/org.glite.lbjp-common.maildir/project/glite-lbjp-common-maildir.spec @@ -0,0 +1,89 @@ +Summary: Virtual package for development with gLite L&B/JP common maildir library +Name: glite-lbjp-common-maildir +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: chrpath +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.maildir/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP common maildir library. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP common maildir library +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +common maildir library. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.maildir +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +/usr/%{_lib}/libglite_lbu_maildir.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_lbu_maildir.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/lbu +/usr/include/glite/lbu/maildir.h +/usr/%{_lib}/libglite_lbu_maildir.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.server-bones/project/.post b/org.glite.lbjp-common.server-bones/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.server-bones/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.server-bones/project/.postun b/org.glite.lbjp-common.server-bones/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.server-bones/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.server-bones/project/glite-lbjp-common-server-bones.spec b/org.glite.lbjp-common.server-bones/project/glite-lbjp-common-server-bones.spec new file mode 100644 index 0000000..c729b62 --- /dev/null +++ b/org.glite.lbjp-common.server-bones/project/glite-lbjp-common-server-bones.spec @@ -0,0 +1,90 @@ +Summary: Virtual package for development with gLite L&B/JP common server-bones. +Name: glite-lbjp-common-server-bones +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: chrpath +BuildRequires: glite-lbjp-common-log-devel +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.server-bones/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP common server-bones. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP common server-bones +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +common server-bones. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.server-bones +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +/usr/%{_lib}/libglite_lbu_server_bones.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_lbu_server_bones.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/lbu +/usr/include/glite/lbu/srvbones.h +/usr/%{_lib}/libglite_lbu_server_bones.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package diff --git a/org.glite.lbjp-common.trio/project/.post b/org.glite.lbjp-common.trio/project/.post deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.trio/project/.post +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.trio/project/.postun b/org.glite.lbjp-common.trio/project/.postun deleted file mode 100644 index 8b0c822..0000000 --- a/org.glite.lbjp-common.trio/project/.postun +++ /dev/null @@ -1 +0,0 @@ -/sbin/ldconfig diff --git a/org.glite.lbjp-common.trio/project/glite-lbjp-common-trio.spec b/org.glite.lbjp-common.trio/project/glite-lbjp-common-trio.spec new file mode 100644 index 0000000..8062fd2 --- /dev/null +++ b/org.glite.lbjp-common.trio/project/glite-lbjp-common-trio.spec @@ -0,0 +1,93 @@ +Summary: Virtual package for development with gLite L&B/JP common trio library +Name: glite-lbjp-common-trio +Version: @MAJOR@.@MINOR@.@REVISION@ +Release: @AGE@%{?dist} +Url: @URL@ +License: Apache Software License +Vendor: EMI +Group: Development/Libraries +BuildRequires: cppunit-devel +BuildRequires: chrpath +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +AutoReqProv: yes +Source: http://eticssoft.web.cern.ch/eticssoft/repository/emi/emi.lbjp-common.trio/%{version}/src/%{name}-@VERSION@.src.tar.gz + + +%description +This is a virtual package providing runtime and development files for gLite +L&B/JP common trio library. + + +%package -n lib%{name} +Summary: @SUMMARY@ +Group: System Environment/Libraries + + +%description -n lib%{name} +@DESCRIPTION@ + + +%package -n %{name}-devel +Summary: Development files for gLite L&B/JP common trio library +Group: Development/Libraries +Requires: lib%{name}%{?_isa} = %{version}-%{release} +Provides: %{name}%{?_isa} = %{version}-%{release} + + +%description -n %{name}-devel +This package contains development libraries and header files for gLite L&B/JP +common trio library. + + +%prep +%setup -q + + +%build +/usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=%{_lib} --project=emi --module lbjp-common.trio +make + + +%check +make check + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \; +find $RPM_BUILD_ROOT -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -n lib%{name} -p /sbin/ldconfig + + +%postun -n lib%{name} -p /sbin/ldconfig + + +%files -n lib%{name} +%defattr(-,root,root) +%dir /usr/share/doc/%{name}-%{version} +%doc /usr/share/doc/%{name}-%{version}/LICENSE +/usr/%{_lib}/libglite_lbu_trio.so.@MAJOR@.@MINOR@.@REVISION@ +/usr/%{_lib}/libglite_lbu_trio.so.@MAJOR@ + + +%files -n %{name}-devel +%defattr(-,root,root) +%dir /usr/include/glite +%dir /usr/include/glite/lbu +/usr/include/glite/lbu/escape.h +/usr/include/glite/lbu/trio.h +/usr/%{_lib}/libglite_lbu_trio.so + + +%changelog +* @SPEC_DATE@ @MAINTAINER@ - @MAJOR@.@MINOR@.@REVISION@-@AGE@%{?dist} +- automatically generated package -- 1.8.2.3