- examples files are now 0644 to beeing able to fdupes them properly (bnc#784670)
OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=14
This commit is contained in:
parent
c91ada0e6c
commit
2c2517d9c8
@ -1,7 +1,8 @@
|
|||||||
|
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
|
||||||
#
|
#
|
||||||
# spec file for package antlr-bootstrap (Version 2.7.7)
|
# spec file for package antlr-bootstrap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,21 +16,22 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: antlr-bootstrap
|
Name: antlr-bootstrap
|
||||||
%define non_bootstrap_name antlr
|
%define non_bootstrap_name antlr
|
||||||
BuildRequires: fastjar gcc-gij gcc-java unzip zip
|
|
||||||
BuildRequires: ecj-bootstrap >= 0.570
|
BuildRequires: ecj-bootstrap >= 0.570
|
||||||
|
BuildRequires: fastjar
|
||||||
|
BuildRequires: gcc-gij
|
||||||
|
BuildRequires: gcc-java
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildRequires: zip
|
||||||
%define real_name antlr
|
%define real_name antlr
|
||||||
Summary: Antlr for bootstrapping purposes
|
Summary: Antlr for bootstrapping purposes
|
||||||
Version: 2.7.7
|
License: BSD-3-Clause and SUSE-Public-Domain
|
||||||
Release: 79
|
|
||||||
Url: http://www.antlr.org
|
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
License: BSD3c ; Public Domain, Freeware
|
Version: 2.7.7
|
||||||
AutoReqProv: on
|
Release: 0
|
||||||
|
Url: http://www.antlr.org
|
||||||
Source0: antlr-%{version}.tar.bz2
|
Source0: antlr-%{version}.tar.bz2
|
||||||
Source1: manifest.antlr
|
Source1: manifest.antlr
|
||||||
# files for the source package
|
# files for the source package
|
||||||
@ -145,6 +147,5 @@ delBinaryFiles
|
|||||||
#%dir %{_javadir}
|
#%dir %{_javadir}
|
||||||
%{_javadir}/%{name}*.jar
|
%{_javadir}/%{name}*.jar
|
||||||
#<<<
|
#<<<
|
||||||
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 31 10:23:55 UTC 2012 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- examples files are now 0644 to beeing able to fdupes them properly (bnc#784670)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 21 13:56:03 UTC 2011 - toddrme2178@gmail.com
|
Thu Jul 21 13:56:03 UTC 2011 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
27
antlr.spec
27
antlr.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package antlr (Version 2.7.7)
|
# spec file for package antlr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,11 +20,11 @@
|
|||||||
|
|
||||||
Name: antlr
|
Name: antlr
|
||||||
Version: 2.7.7
|
Version: 2.7.7
|
||||||
Release: 79
|
Release: 0
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: Another Tool for Language Recognition
|
Summary: Another Tool for Language Recognition
|
||||||
Url: http://www.antlr.org/
|
License: GPL-2.0+ and SUSE-Public-Domain and MIT
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
|
Url: http://www.antlr.org/
|
||||||
#Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz
|
#Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}-build.xml
|
Source1: %{name}-build.xml
|
||||||
@ -60,7 +60,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
|
|||||||
|
|
||||||
# To not introduce arch dependent java package, lets have this in separate subpackage
|
# To not introduce arch dependent java package, lets have this in separate subpackage
|
||||||
%package java
|
%package java
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (Manual)
|
Summary: ANother Tool for Language Recognition (Manual)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: java >= 1.6.0
|
Requires: java >= 1.6.0
|
||||||
@ -76,7 +75,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
|
|||||||
This package provides the Java runtime for antlr
|
This package provides the Java runtime for antlr
|
||||||
|
|
||||||
%package manual
|
%package manual
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (Manual)
|
Summary: ANother Tool for Language Recognition (Manual)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -90,7 +88,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
|
|||||||
This package provides the manual and examples for antlr.
|
This package provides the manual and examples for antlr.
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (Java Documentation)
|
Summary: ANother Tool for Language Recognition (Java Documentation)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
@ -105,7 +102,6 @@ or Java actions (you can use PCCTS 1.xx to generate C-based parsers).
|
|||||||
This package provides the Javadoc for antlr.
|
This package provides the Javadoc for antlr.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (c++ runtime)
|
Summary: ANother Tool for Language Recognition (c++ runtime)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: antlr
|
Requires: antlr
|
||||||
@ -121,7 +117,6 @@ of antlr
|
|||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
|
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (python runtime)
|
Summary: ANother Tool for Language Recognition (python runtime)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: antlr
|
Requires: antlr
|
||||||
@ -136,7 +131,6 @@ ANTLR Python support was contributed (and is to be maintained) by Wolfgang
|
|||||||
Haefelinger and Marq Kole.
|
Haefelinger and Marq Kole.
|
||||||
|
|
||||||
%package csharp
|
%package csharp
|
||||||
License: GPLv2+ ; Public Domain, Freeware ; MIT
|
|
||||||
Summary: ANother Tool for Language Recognition (python runtime)
|
Summary: ANother Tool for Language Recognition (python runtime)
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: antlr
|
Requires: antlr
|
||||||
@ -214,6 +208,7 @@ install -d -m 0755 %{buildroot}%{_includedir}/%{name}
|
|||||||
install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
|
install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
|
||||||
|
|
||||||
### find duplicates ###
|
### find duplicates ###
|
||||||
|
find examples -type f | xargs chmod 0644
|
||||||
%fdupes -s examples
|
%fdupes -s examples
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -249,8 +244,8 @@ rm -rf %{buildroot}
|
|||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(0644,root,root)
|
||||||
%{_libdir}/libantlr.a
|
%attr(755,root,root) %{_libdir}/libantlr.a
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
|
||||||
%files -n python-%{name}
|
%files -n python-%{name}
|
||||||
@ -261,9 +256,9 @@ rm -rf %{buildroot}
|
|||||||
%py_sitedir/%{name}
|
%py_sitedir/%{name}
|
||||||
|
|
||||||
%files csharp
|
%files csharp
|
||||||
%defattr(-,root,root)
|
%defattr(0644,root,root)
|
||||||
%dir %{_datadir}/%{name}-%{version}
|
%dir %{_datadir}/%{name}-%{version}
|
||||||
%{_datadir}/%{name}-%{version}/*dll
|
%attr(755,root,root) %{_datadir}/%{name}-%{version}/*dll
|
||||||
%{_libdir}/*.dll
|
%attr(755,root,root) %{_libdir}/*.dll
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user