-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjgettext.spec
68 lines (50 loc) · 1.68 KB
/
jgettext.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: jgettext
Version: 0.13
Release: 2%{?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_build
%install
%mvn_install
%files -f .mfiles
%doc README.txt
%files javadoc
%{_javadocdir}/%{name}
%changelog
* Wed Apr 17 2013 Patrick Huang <pahuang@redhat.com> 0.13-2
- Remove conditional build to target only f19 and remove unnecessary BR
* Tue Mar 19 2013 Patrick Huang <pahuang@redhat.com> 0.13-1
- Upstream version upgrade and fix issue in review process
* Tue Feb 19 2013 Patrick Huang <pahuang@redhat.com> 0.12-2
- Update maven-local and file section using new macro
* Thu Feb 7 2013 Patrick Huang <pahuang@redhat.com> 0.12-1
- Version 0.12
* Mon Feb 4 2013 Patrick Huang <pahuang@redhat.com> 0.11-1
- Initial RPM package