]> git.pld-linux.org Git - packages/java-antlr3.git/commitdiff
- updated URLs, pl
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 8 Jun 2014 06:29:11 +0000 (08:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 8 Jun 2014 06:29:11 +0000 (08:29 +0200)
java-antlr3.spec

index 680a34f101048a2f6835765d1aea3e6f05bd2ce6..8afee384a028f834503970fa353323febc5d4a60 100644 (file)
@@ -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
This page took 0.161424 seconds and 4 git commands to generate.