packages: sonar/sonar.properties (NEW), perl-EV/perl-EV.spec (NEW) - initial

pawelz pawelz at pld-linux.org
Wed Jun 17 09:24:58 CEST 2009


Author: pawelz                       Date: Wed Jun 17 07:24:58 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/sonar:
   sonar.properties (NONE -> 1.1)  (NEW)
packages/perl-EV:
   perl-EV.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/sonar/sonar.properties
diff -u /dev/null packages/sonar/sonar.properties:1.1
--- /dev/null	Wed Jun 17 09:24:58 2009
+++ packages/sonar/sonar.properties	Wed Jun 17 09:24:53 2009
@@ -0,0 +1,67 @@
+#--------------------------------------------------------
+# To use an environment variable, use the following syntax :  ${env:NAME_OF_ENV_VARIABLE}
+# For example :
+#   sonar.jdbc.url: ${env:SONAR_JDBC_URL}
+#---------------------------------------------------------
+
+#---------------------------------------------------------
+# DATABASE
+#---------------------------------------------------------
+
+# Comment the 4 following lines to deactivate the default embedded database (used only for tests and demos)
+# sonar.jdbc.url:                            jdbc:derby://localhost:1527/sonar;create=true
+# sonar.jdbc.driverClassName:                org.apache.derby.jdbc.ClientDriver
+# sonar.jdbc.validationQuery:                values(1)
+# data directory, autodetected : /data if standalone application, /WEB-INF/classes/data if WAR deployement (exploded mode)
+#sonar.embeddedDatabase.dataDir:
+
+# MySql
+# uncomment the 3 following lines to use MySQL
+#sonar.jdbc.url:                            jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
+#sonar.jdbc.driverClassName:                com.mysql.jdbc.Driver
+#sonar.jdbc.validationQuery:                select 1
+
+# Oracle
+# uncomment the 3 following lines to use Oracle
+#sonar.jdbc.url:                            jdbc:oracle:thin:@localhost/XE
+#sonar.jdbc.driverClassName:                oracle.jdbc.driver.OracleDriver
+#sonar.jdbc.validationQuery:                select 1 from dual
+
+# PostgreSQL
+# uncomment the 3 following lines to use PostgreSQL
+#sonar.jdbc.url:                            jdbc:postgresql://localhost/sonar
+#sonar.jdbc.driverClassName:                org.postgresql.Driver
+#sonar.jdbc.validationQuery:                select 1
+
+# generic settings
+sonar.jdbc.username:                       sonar
+sonar.jdbc.password:                       sonar
+sonar.jdbc.maxActive:                      10
+sonar.jdbc.maxIdle:                        5
+sonar.jdbc.minIdle:                        2
+sonar.jdbc.maxWait:                        5000
+sonar.jdbc.minEvictableIdleTimeMillis:     600000
+sonar.jdbc.timeBetweenEvictionRunsMillis:  30000
+
+# Transaction isolation level. Default driver setting is used by default.
+# Values : 1 (TRANSACTION_READ_UNCOMMITED), 2 (TRANSACTION_READ_COMMITTED), 4 (TRANSACTION_REPEATABLE_READ), 8 (TRANSACTION_SERIALIZABLE)
+#sonar.jdbc.defaultTransactionIsolation: 2
+
+
+# When packaged in a WAR, JDBC datasource can be configured into the application server then registered to JNDI.
+# In such a case Sonar uses this datasource to connect to database, else if binds itself its own datasource.
+# Note : Jonas does not accept to bind subcontexts, so name should be something like 'jdbc-sonar', without slashes.
+#sonar.jdbc.jndiName:                       jdbc/sonar
+
+
+#---------------------------------------------------------
+# EXTENSIONS
+#---------------------------------------------------------
+# Absolute path of coding rules extensions (custom rules that are not provided with tools like Checkstyle or PMD).
+# This parameter is useful when Sonar is deployed as a WAR. It avoids from packaging the WAR file each time extensions JARs are updated.
+# The directory contains subdirectories like checkstyle/ and pmd/
+# Example :
+# sonar.rules.extensionsPath:  /user/home/jdoe/sonar/extensions 
+
+sonar.web.warDeploy: true
+    

================================================================
Index: packages/perl-EV/perl-EV.spec
diff -u /dev/null packages/perl-EV/perl-EV.spec:1.1
--- /dev/null	Wed Jun 17 09:24:58 2009
+++ packages/perl-EV/perl-EV.spec	Wed Jun 17 09:24:53 2009
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	EV
+Summary:	EV - perl interface to libev, a high performance full-featured event loop
+Summary(pl.UTF-8):	EV - interfejs perlowy do libev
+Name:		perl-EV
+Version:	3.6
+Release:	1
+License:	unknown
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/EV/%{pdir}-%{version}.tar.gz
+# Source0-md5:	642062929539555da53d8731354d5cda
+URL:		http://search.cpan.org/dist/EV/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an interface to libev
+(http://software.schmorp.de/pkg/libev.html). While the documentation
+below is comprehensive, one might also consult the documentation of
+libev itself (http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod or
+perldoc EV::libev) for more subtle details on watcher semantics or
+some discussion on the available backends, or how to force a specific
+backend with LIBEV_FLAGS, or just about in any case because it has
+much more detailed information.
+
+This module is very fast and scalable. It is actually so fast that you
+can use it through the AnyEvent module, stay portable to other event
+loops (if you don't rely on any watcher types not available through
+it) and still be faster than with any other event loop currently
+supported in Perl.
+
+This module does not export any symbols.
+
+%description -l pl.UTF-8
+Moduł ten dostarcza intefejs do libev.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/EV/*.pm
+%{perl_vendorarch}/EV.pm
+%{perl_vendorarch}/EV/EVAPI.h
+%{perl_vendorarch}/EV/ev.h
+%{perl_vendorarch}/auto/EV/EV.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/EV/EV.so
+%dir %{perl_vendorarch}/auto/EV/
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/06/17 07:24:53  amateja
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list