[packages/java-antlr3] - updated URLs, pl

qboosh qboosh at pld-linux.org
Sun Jun 8 08:25:36 CEST 2014


commit eb793a63eac776a134e75964be762ee767248199
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 8 08:29:11 2014 +0200

    - updated URLs, pl

 java-antlr3.spec | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/java-antlr3.spec b/java-antlr3.spec
index 680a34f..8afee38 100644
--- a/java-antlr3.spec
+++ b/java-antlr3.spec
@@ -3,26 +3,29 @@
 # - Some docs?
 
 # NOTE:
-# - It is not just a new version of antlr, so it must not conflicts with antlr-2
+# - It is not just a new version of antlr, so it must not conflict with antlr-2
 # - No, we can not build it from sources. It requires fuckin maven.
 
+#
+# Conditional build:
 %bcond_without	ant		# don't build ant task
 
 %include	/usr/lib/rpm/macros.java
 
 %define		srcname antlr3
 Summary:	ANother Tool for Language Recognition
+Summary(pl.UTF-8):	ANother Tool for Language Recognition - analizator językowy
 Name:		java-antlr3
 Version:	3.2
 Release:	3
 License:	Public Domain
 Group:		Development/Languages/Java
-Source0:	http://antlr.org/download/antlr-%{version}.jar
+Source0:	http://antlr3.org/download/antlr-%{version}.jar
 # From http://antlr.org/share/1169924912745/antlr3-task.zip
 Source1:	ANTLR3.java
 Source2:	antlib.xml
 # Source0-md5:	ee7dc3fb20cf3e9efd871e297c0d532b
-URL:		http://antlr.org/
+URL:		http://antlr3.org/
 %if %{with ant}
 BuildRequires:	ant
 BuildRequires:	jdk
@@ -31,8 +34,8 @@ BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	jpackage-utils
-BuildArch:	noarch
 Obsoletes:	antlr3 < %{version}
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -43,6 +46,15 @@ actions in a variety of target languages. ANTLR provides excellent
 support for tree construction, tree walking, translation, error
 recovery, and error reporting.
 
+%description -l pl.UTF-8
+ANTLR (ANother Tool for Language Recognition - jeszcze jedno narzędzie
+do rozpoznawania języka) to narzędzie językowe, udostępniające
+szkielet do tworzenia analizatorów, interpreterów, kompilatorów oraz
+translatorów z opisów gramatycznych zawierających akcje dla rozmaitych
+języków docelowych. ANTLR zapewnia dobre wsparcie przy konstrukcji
+drzewa, przechodzeniu drzewa, translacji, powrocie ze stanów błędnych
+oraz zgłaszaniu błędów.
+
 %package -n ant-antlr3
 Summary:	Antlr3 task for ant
 Summary(pl.UTF-8):	Zadanie antlr3 dla anta
@@ -53,8 +65,10 @@ Requires:	%{name} = %{version}-%{release}
 %description -n ant-antlr3
 Ant task for antlr3.
 
-%if %{with ant}
+%description -n ant-antlr3 -l pl.UTF-8
+
 %prep
+%if %{with ant}
 %setup -q -T -c
 mkdir -p org/apache/tools/ant/antlr
 mkdir build
@@ -89,10 +103,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_javadir}/*.jar
+%{_javadir}/antlr3-%{version}.jar
+%{_javadir}/antlr3.jar
 
 %if %{with ant}
 %files -n ant-antlr3
 %defattr(644,root,root,755)
-%{_javadir}/ant/*.jar
+%{_javadir}/ant/ant-antlr3.jar
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/java-antlr3.git/commitdiff/eb793a63eac776a134e75964be762ee767248199



More information about the pld-cvs-commit mailing list