[jgettext/f18] f18 initial commit
Patrick Huang
pahuang at fedoraproject.org
Thu Apr 18 00:50:41 UTC 2013
commit cd943527db1809e567fd9c4f43644d0363795254
Author: Patrick Huang <pahuang at redhat.com>
Date: Wed Apr 17 20:50:27 2013 -0400
f18 initial commit
.gitignore | 1 +
jgettext.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5507780 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jgettext-0.13.zip
diff --git a/jgettext.spec b/jgettext.spec
new file mode 100644
index 0000000..8ef8519
--- /dev/null
+++ b/jgettext.spec
@@ -0,0 +1,82 @@
+Name: jgettext
+Version: 0.13
+Release: 3%{?dist}
+Summary: An ANTLR-based parser and generator for GNU Gettext PO/POT
+
+License: LGPLv2
+URL: https://github.com/zanata/%{name}
+Source0: https://github.com/zanata/%{name}/archive/%{name}-%{version}.zip
+
+BuildArch: noarch
+
+BuildRequires: maven-local
+
+BuildRequires: maven-install-plugin
+BuildRequires: maven-release-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-surefire-provider-junit4
+BuildRequires: antlr-maven-plugin
+BuildRequires: junit
+BuildRequires: gettext
+
+Requires: antlr
+Requires: jpackage-utils
+Requires: java
+
+%description
+JGettext includes an ANTLR-based parser for GNU Gettext PO/POT files and a
+PO/POT generator as well.
+
+%package javadoc
+Summary: Javadocs for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}-%{name}-%{version}
+
+%build
+mvn-rpmbuild package javadoc:aggregate
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_javadir}
+cp -p target/jgettext*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -rp target/site/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -pm 644 pom.xml \
+ $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap
+
+
+%files -f .mfiles
+%doc README.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+
+%changelog
+* Thu Apr 18 2013 Patrick Huang <pahuang at redhat.com> 0.13-3
+- Change to build in f18
+
+* Wed Apr 17 2013 Patrick Huang <pahuang at redhat.com> 0.13-2
+- Remove conditional build to target only f19 and remove unnecessary BR
+
+* Tue Mar 19 2013 Patrick Huang <pahuang at redhat.com> 0.13-1
+- Upstream version upgrade and fix issue in review process
+
+* Tue Feb 19 2013 Patrick Huang <pahuang at redhat.com> 0.12-2
+- Update maven-local and file section using new macro
+
+* Thu Feb 7 2013 Patrick Huang <pahuang at redhat.com> 0.12-1
+- Version 0.12
+
+* Mon Feb 4 2013 Patrick Huang <pahuang at redhat.com> 0.11-1
+- Initial RPM package
diff --git a/sources b/sources
index e69de29..3966f88 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10cc7b93672dd77ea936635207c2c566 jgettext-0.13.zip
More information about the scm-commits
mailing list