[svn] r5750 - in trunk/rpms: . bandwidth gnunet httperf perl-LDAP

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat Aug 18 00:50:05 CEST 2007


Author: dag
Date: 2007-08-18 00:50:03 +0200 (Sat, 18 Aug 2007)
New Revision: 5750

Added:
   trunk/rpms/httperf/
   trunk/rpms/httperf/httperf.spec
Removed:
   trunk/rpms/perl-Net-LDAP/
Modified:
   trunk/rpms/bandwidth/bandwidth.spec
   trunk/rpms/gnunet/gnunet.spec
   trunk/rpms/perl-LDAP/perl-LDAP.spec
Log:
Updates

Modified: trunk/rpms/bandwidth/bandwidth.spec
===================================================================
--- trunk/rpms/bandwidth/bandwidth.spec	2007-08-17 19:23:09 UTC (rev 5749)
+++ trunk/rpms/bandwidth/bandwidth.spec	2007-08-17 22:50:03 UTC (rev 5750)
@@ -4,7 +4,7 @@
 
 Summary: Artificial benchmark for measuring memory bandwidth
 Name: bandwidth
-Version: 0.12
+Version: 0.13
 Release: 1
 License: GPL
 Group: Applications/Internet
@@ -37,5 +37,8 @@
 %{_bindir}/bandwidth
 
 %changelog
+* Thu Aug 16 2007 Dag Wieers <dag at wieers.com> - 0.13-1
+- Updated to release 0.13.
+
 * Sat Jul 28 2007 Dag Wieers <dag at wieers.com> - 0.12-1
 - Initial package. (using DAR)

Modified: trunk/rpms/gnunet/gnunet.spec
===================================================================
--- trunk/rpms/gnunet/gnunet.spec	2007-08-17 19:23:09 UTC (rev 5749)
+++ trunk/rpms/gnunet/gnunet.spec	2007-08-17 22:50:03 UTC (rev 5750)
@@ -2,6 +2,11 @@
 # Authority: dries
 # Upstream: Christian Grothoff <christian$grothoff,org>
 
+%{?el4:%define _without_dht 1}
+%{?el4:%define _without_guile18 1}
+
+%define real_name GNUnet
+
 Summary: Peer-to-peer framework
 Name: gnunet
 Version: 0.7.2
@@ -14,8 +19,11 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: openssl-devel, curl-devel, libextractor-devel, mysql-devel
-BuildRequires: libgcrypt-devel, gmp-devel, libtool, libtool-ltdl-devel
+BuildRequires: gmp-devel, libtool
+BuildRequires: libgcrypt-devel >= 1.2.0
 BuildRequires: ncurses-devel
+%{!?_without_guile18:BuildRequires: guile-devel >= 1.8.0}
+#BuildRequires: libtool-ltdl-devel
 
 %description
 GNUnet is a peer-to-peer framework with focus on providing security. All 
@@ -37,7 +45,7 @@
 you will need to install %{name}-devel.
 
 %prep
-%setup -n GNUnet-%{version}
+%setup -n %{real_name}-%{version}
 
 %build
 %configure
@@ -45,24 +53,21 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
-%find_lang GNUnet
+%{__make} install DESTDIR="%{buildroot}"
+%find_lang %{real_name}
 
-%post
-/sbin/ldconfig 2>/dev/null
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig 2>/dev/null
-
 %clean
 %{__rm} -rf %{buildroot}
 
-%files -f GNUnet.lang
+%files -f %{real_name}.lang
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
-%doc %{_mandir}/man1/gnunet*
-%doc %{_mandir}/man5/gnunet*
-%{_bindir}/gnunet-dht-query
+%doc %{_mandir}/man1/gnunet*.1*
+%doc %{_mandir}/man5/gnunet*.5*
+%{!?_without_dht:%{_bindir}/gnunet-dht-query}
 %{_bindir}/gnunet-directory
 %{_bindir}/gnunet-download
 %{_bindir}/gnunet-download-manager.scm
@@ -78,12 +83,12 @@
 %{_bindir}/gnunet-unindex
 %{_bindir}/gnunet-update
 %{_bindir}/gnunet-vpn
-%{_bindir}/gnunet-setup
+%{!?_without_guile18:%{_bindir}/gnunet-setup}
 %{_bindir}/gnunetd
 %{_libdir}/GNUnet/
 %{_libdir}/libgnunetcollection.so.*
 %{_libdir}/libgnunetcore.so.*
-%{_libdir}/libgnunetdht_api.so.*
+%{!?_without_dht:%{_libdir}/libgnunetdht_api.so.*}
 %{_libdir}/libgnunetecrs.so.*
 %{_libdir}/libgnunetfs.so.*
 %{_libdir}/libgnunetfsui.so.*
@@ -91,7 +96,7 @@
 %{_libdir}/libgnunetidentity_api.so.*
 %{_libdir}/libgnunetip.so.*
 %{_libdir}/libgnunetrpc_util.so.*
-%{_libdir}/libgnunetsetup.so.*
+%{!?_without_guile18:%{_libdir}/libgnunetsetup.so.*}
 %{_libdir}/libgnunettesting_api.so.*
 %{_libdir}/libgnunettraffic_api.so.*
 %{_libdir}/libgnunetnamespace.so.*
@@ -112,7 +117,7 @@
 %{_includedir}/GNUnet/
 %{_libdir}/libgnunetcollection.so
 %{_libdir}/libgnunetcore.so
-%{_libdir}/libgnunetdht_api.so
+%{!?_without_dht:%{_libdir}/libgnunetdht_api.so}
 %{_libdir}/libgnunetecrs.so
 %{_libdir}/libgnunetfs.so
 %{_libdir}/libgnunetfsui.so
@@ -120,7 +125,7 @@
 %{_libdir}/libgnunetidentity_api.so
 %{_libdir}/libgnunetip.so
 %{_libdir}/libgnunetrpc_util.so
-%{_libdir}/libgnunetsetup.so
+%{!?_without_guile18:%{_libdir}/libgnunetsetup.so}
 %{_libdir}/libgnunettesting_api.so
 %{_libdir}/libgnunettraffic_api.so
 %{_libdir}/libgnunetnamespace.so

Added: trunk/rpms/httperf/httperf.spec
===================================================================
--- trunk/rpms/httperf/httperf.spec	                        (rev 0)
+++ trunk/rpms/httperf/httperf.spec	2007-08-17 22:50:03 UTC (rev 5750)
@@ -0,0 +1,52 @@
+# $Id$
+# Authority: dag
+
+Summary: Web server benchmark
+Name: httperf
+Version: 0.9.0
+Release: 1
+License: GPL
+Group: Applications/Internet
+URL: http://www.hpl.hp.com/research/linux/httperf/
+
+Source: ftp://ftp.hpl.hp.com/pub/httperf/httperf-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: openssl-devel
+
+%description
+httperf is a popular web server benchmark tool for measuring web server
+performance. It provides a flexible facility for generating various HTTP
+workloads and for measuring server performance. The focus of httperf is
+not on implementing one particular benchmark but on providing a robust,
+high-performance tool that  facilitates the construction of both micro-
+and macro-level benchmarks. The three distinguishing characteristics of
+httperf are its robustness, which includes the ability to generate and
+sustain server overload, support for the HTTP/1.1 protocol, and its 
+extensibility to new workload generators and performance measurements. 
+
+%prep
+%setup
+
+%build
+%configure \
+    --program-prefix="%{?_program_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%doc %{_mandir}/man1/httperf.1*
+%{_bindir}/httperf
+%{_bindir}/idleconn
+
+%changelog
+* Fri Aug 17 2007 Dag Wieers <dag at wieers.com> - 0.9.0-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/httperf/httperf.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/perl-LDAP/perl-LDAP.spec
===================================================================
--- trunk/rpms/perl-LDAP/perl-LDAP.spec	2007-08-17 19:23:09 UTC (rev 5749)
+++ trunk/rpms/perl-LDAP/perl-LDAP.spec	2007-08-17 22:50:03 UTC (rev 5750)
@@ -23,14 +23,18 @@
 BuildRequires: perl >= 0:5.004
 BuildRequires: perl(Authen::SASL) >= 2.0
 BuildRequires: perl(Convert::ASN1)
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(IO::Socket::SSL) > 0.81
+BuildRequires: perl(MIME::Base64)
 BuildRequires: perl(URI::ldap) >= 1.1
-Requires: perl(Convert::ASN1)
+BuildRequires: perl(XML::SAX::Base)
 Requires: perl(IO::Socket::SSL)
-Requires: perl(XML::SAX::Base)
 
 Obsoletes: perl-ldap <= %{version}-%{release}
+Obsoletes: perl-Net-LDAP <= %{version}-%{release}
 Provides: perl-ldap = %{version}-%{release}
+Provides: perl-Net-LDAP = %{version}-%{release}
 
 %description
 This package contains a perl module with an interface to LDAP.
@@ -50,14 +54,14 @@
 find %{buildroot} -name .packlist -exec %{__rm} {} \;
 
 ### Clean up docs
-find contrib/ -type f -exec %{__chmod} a-x {} \;
+find bin/ contrib/ -type f -exec %{__chmod} a-x {} \;
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-, root, root, 0755)
-%doc CREDITS Changes INSTALL MANIFEST META.yml README SIGNATURE TODO install-nomake contrib/
+%doc CREDITS Changes INSTALL MANIFEST META.yml README SIGNATURE TODO install-nomake bin/ contrib/
 %doc %{_mandir}/man3/*.3pm*
 %dir %{perl_vendorlib}/Bundle/
 %dir %{perl_vendorlib}/Bundle/Net/
@@ -74,8 +78,8 @@
 
 %changelog
 * Fri Aug 17 2007 Dag Wieers <dag at wieers.com> - 0.34-1
-- Renamed package from perl-ldap to perl-LDAP to match upstream.
-  (though distribution is called perl-ldap and module perl-Net-LDAP !)
+- Renamed package to perl-LDAP to match upstream.
+  (though distribution is called perl-ldap and module is perl-Net-LDAP !)
 
 * Wed Aug 16 2006 Dag Wieers <dag at wieers.com> - 0.33-1
 - Updated to release 0.33.



More information about the svn-commits mailing list