[fest-assert] Initial import (#816962).

Mario Torre neugens at fedoraproject.org
Fri May 4 12:56:36 UTC 2012


commit 03c946c3ca8560f1c84c8800d79d3adcdbbeb237
Author: neugens <neugens at redhat.com>
Date:   Fri May 4 14:56:20 2012 +0200

    Initial import (#816962).

 .gitignore       |    1 +
 fest-assert.spec |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 106 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2678bb5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fest-assert-1.x.tar.gz
diff --git a/fest-assert.spec b/fest-assert.spec
new file mode 100644
index 0000000..d4620a5
--- /dev/null
+++ b/fest-assert.spec
@@ -0,0 +1,104 @@
+Name:           fest-assert
+Version:        1.4
+Release:        6%{?dist}
+Summary:        FEST Fluent Assertions
+
+Group:          Development/Libraries
+License:        ASL 2.0
+URL:            http://fest.easytesting.org
+
+# from https://github.com/alexruiz/fest-assert-1.x/tarball/1.4
+Source0:        https://github.com/alexruiz/fest-assert-1.x/tarball/1.4/fest-assert-1.x.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  jpackage-utils
+
+BuildRequires:  maven
+BuildRequires:  maven-enforcer-plugin
+BuildRequires:  maven-surefire
+BuildRequires:  maven-surefire-provider-junit4
+BuildRequires:  maven-dependency-plugin
+
+BuildRequires:  fest-common = 1.0.11
+BuildRequires:  fest-util = 1.2.0
+
+Requires:       java
+Requires:       fest-common = 1.0.11
+Requires:       fest-util = 1.2.0
+
+%description
+Flexible or fluent assertions for testing
+
+%package javadoc
+Group:          Documentation
+Summary:        Javadoc for %{name}
+Requires:       jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q -n alexruiz-fest-assert-1.x-7a64c52
+sed -i 's/\r//' README.md
+
+# skip test because this package requires junit 4.8 but we only have
+# junit 4.10, which is incompatible, also, the test depend on
+# fest-mocks which is not packaged because it indirectly depends a
+# package not allowed in fedora due to licensing issues
+%build
+mvn-rpmbuild \
+        -Dmaven.test.skip=true \
+        -e \
+        install javadoc:javadoc
+
+%install
+# jars
+install -d -m 0755 %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar  %{buildroot}%{_javadir}/%{name}.jar
+
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
+
+%files
+%{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%doc LICENSE.txt
+%doc README.md
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+
+* Thu May 3 2012 Mario Torre <neugens at redhat.com> 1.4-6
+- Rename package again to match packaging guidelines
+
+* Thu May 3 2012 Mario Torre <neugens at redhat.com> 1.4-5
+- Rename package to match upstream name
+- Fix the source to match upstream
+
+* Thu May 3 2012 Mario Torre <neugens at redhat.com> 1.4-4
+- Upgrade for Fedora 17
+- Skip test compilation due to missed dependency
+- Strip the Carriage Returns in README.md
+
+* Thu May 3 2012 Mario Torre <neugens at redhat.com> 1.4-3
+- Add patch to fix a spurious failing test
+
+* Thu May 3 2012 Mario Torre <neugens at redhat.com> 1.4-2
+- Fix dependencies
+- Fix spec file
+- Add comments for patches
+
+* Wed Apr 25 2012 Mario Torre <neugens at redhat.com> 1.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..48f2fee 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ceebf8312e48bb0912d248a50309bf8c  fest-assert-1.x.tar.gz


More information about the scm-commits mailing list