Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Milos Jakubicek
1bcd6f8691 - Fix wrong man page references (see BZ#855619) 2012-09-09 17:58:33 +02:00
Milos Jakubicek
990f5c449e - added BR: maven2 2012-02-22 22:13:52 +01:00
Milos Jakubicek
7ea5eb1b86 - Fix permissions for egg-info dir (fixes BZ#790499) 2012-02-22 18:55:17 +01:00

View file

@ -9,7 +9,7 @@
Summary: ANother Tool for Language Recognition
Name: antlr3
Version: %{antlr_version}
Release: 15%{?dist}
Release: 18%{?dist}
URL: http://www.antlr.org/
Source0: http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
Source1: http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@ -40,6 +40,7 @@ BuildRequires: tomcat6-servlet-2.5-api
BuildRequires: tomcat6
BuildRequires: stringtemplate >= 3.2
BuildRequires: felix-parent
BuildRequires: maven2
%if ! %{with_bootstrap}
BuildRequires: antlr3-tool >= 3.2
%endif
@ -248,7 +249,8 @@ install -m 755 %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/antlr3
# install python runtime
pushd antlr_python_runtime-%{python_runtime_version}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod a+x $RPM_BUILD_ROOT%{python_sitelib}/antlr_python_runtime-*
popd
# install C runtime
@ -259,6 +261,7 @@ pushd api/man/man3
for file in `ls -1 * | grep -vi "^antlr3"`; do
mv $file antlr3-$file
done
sed -i -e 's,^\.so man3/pANTLR3,.so man3/antlr3-pANTLR3,' `grep -rl 'man3/pANTLR3' .`
gzip *
popd
mv api/man/man3 $RPM_BUILD_ROOT%{_mandir}/
@ -324,6 +327,15 @@ rm -rf $RPM_BUILD_ROOT
%{_javadir}/*gunit*.jar
%changelog
* Sun Sep 09 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.2-18
- Fix wrong man page references (see BZ#855619)
* Wed Feb 22 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.2-17
- added BR: maven2
* Wed Feb 22 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.2-16
- Fix permissions for egg-info dir (fixes BZ#790499)
* Fri Sep 09 2011 Dan Horák <dan[at]danny.cz> - 3.2-15
- fix build on other arches