diff --git a/.gitignore b/.gitignore index e69de29..2792166 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/classloader-leak-test-framework-1.1.1.tar.gz diff --git a/classloader-leak-test-framework.spec b/classloader-leak-test-framework.spec new file mode 100644 index 0000000..7e4ade9 --- /dev/null +++ b/classloader-leak-test-framework.spec @@ -0,0 +1,53 @@ +Name: classloader-leak-test-framework +Version: 1.1.1 +Release: 1%{?dist} +Summary: Detection and verification of Java ClassLoader leaks +License: ASL 2.0 +URL: https://github.com/mjiderhamn/classloader-leak-prevention/tree/master/%{name} +Source0: https://github.com/mjiderhamn/classloader-leak-prevention/archive/%{name}-%{version}.tar.gz + +BuildArch: noarch + +# build +BuildRequires: maven-local +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.bcel:bcel) +# test dependencies +BuildRequires: mvn(javax.el:el-api) +BuildRequires: mvn(com.sun.faces:jsf-api) +BuildRequires: mvn(com.sun.faces:jsf-impl) + +%description +Stand-alone test framework for detecting and/or verifying the existence or +non-existence of Java ClassLoader leaks. It is also possible to test leak +prevention mechanisms to confirm that the leak really is avoided. The framework +is an built upon JUnit. + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q -n classloader-leak-prevention-%{name}-%{version} +rm -r classloader-leak-prevention +cp -r %{name}/* . + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc README.md +%license LICENSE.txt + +%files javadoc -f .mfiles-javadoc +%license LICENSE.txt + +%changelog +* Thu Nov 03 2016 Tomas Repik - 1.1.1-1 +- initial package + diff --git a/sources b/sources index e69de29..c420842 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +33c85d1be94dd0d4d99e8496f6445415 classloader-leak-test-framework-1.1.1.tar.gz