Accepting request 139823 from Java:packages
- examples files are now 0644 to beeing able to fdupes them properly (bnc#784670) OBS-URL: https://build.opensuse.org/request/show/139823 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr?expand=0&rev=23
This commit is contained in:
commit
63d99a5cfe
@ -1,7 +1,8 @@
|
||||
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
|
||||
#
|
||||
# spec file for package antlr-bootstrap
|
||||
#
|
||||
# Copyright (c) 2011 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,21 +16,22 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: antlr-bootstrap
|
||||
%define non_bootstrap_name antlr
|
||||
BuildRequires: fastjar gcc-gij gcc-java unzip zip
|
||||
BuildRequires: ecj-bootstrap >= 0.570
|
||||
BuildRequires: fastjar
|
||||
BuildRequires: gcc-gij
|
||||
BuildRequires: gcc-java
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
%define real_name antlr
|
||||
Summary: Antlr for bootstrapping purposes
|
||||
Version: 2.7.7
|
||||
Release: 80
|
||||
Url: http://www.antlr.org
|
||||
License: BSD-3-Clause and SUSE-Public-Domain
|
||||
Group: Development/Libraries/Java
|
||||
License: BSD-3-Clause ; SUSE-Public-Domain
|
||||
AutoReqProv: on
|
||||
Version: 2.7.7
|
||||
Release: 0
|
||||
Url: http://www.antlr.org
|
||||
Source0: antlr-%{version}.tar.bz2
|
||||
Source1: manifest.antlr
|
||||
# files for the source package
|
||||
@ -145,6 +147,5 @@ delBinaryFiles
|
||||
#%dir %{_javadir}
|
||||
%{_javadir}/%{name}*.jar
|
||||
#<<<
|
||||
# vim:fdm=marker:foldmarker=#>>>,#<<<:foldcolumn=6:
|
||||
|
||||
%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
|
||||
|
||||
|
26
antlr.spec
26
antlr.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package antlr
|
||||
#
|
||||
# Copyright (c) 2011 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,11 +20,11 @@
|
||||
|
||||
Name: antlr
|
||||
Version: 2.7.7
|
||||
Release: 83
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Release: 0
|
||||
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
|
||||
Url: http://www.antlr.org/
|
||||
#Source0: http://www.antlr.org/download/antlr-2.7.4.tar.gz
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
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
|
||||
%package java
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (Manual)
|
||||
Group: Development/Tools/Other
|
||||
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
|
||||
|
||||
%package manual
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (Manual)
|
||||
Group: Development/Tools/Other
|
||||
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.
|
||||
|
||||
%package javadoc
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (Java Documentation)
|
||||
Group: Development/Tools/Other
|
||||
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.
|
||||
|
||||
%package devel
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (c++ runtime)
|
||||
Group: Development/Tools/Other
|
||||
Requires: antlr
|
||||
@ -121,8 +117,6 @@ of antlr
|
||||
|
||||
%package -n python-%{name}
|
||||
|
||||
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (python runtime)
|
||||
Group: Development/Tools/Other
|
||||
Requires: antlr
|
||||
@ -137,7 +131,6 @@ ANTLR Python support was contributed (and is to be maintained) by Wolfgang
|
||||
Haefelinger and Marq Kole.
|
||||
|
||||
%package csharp
|
||||
License: GPL-2.0+ ; SUSE-Public-Domain ; MIT
|
||||
Summary: ANother Tool for Language Recognition (python runtime)
|
||||
Group: Development/Tools/Other
|
||||
Requires: antlr
|
||||
@ -215,6 +208,7 @@ install -d -m 0755 %{buildroot}%{_includedir}/%{name}
|
||||
install -m 0644 lib/cpp/%{name}/*hpp %{buildroot}%{_includedir}/%{name}
|
||||
|
||||
### find duplicates ###
|
||||
find examples -type f | xargs chmod 0644
|
||||
%fdupes -s examples
|
||||
|
||||
%clean
|
||||
@ -250,8 +244,8 @@ rm -rf %{buildroot}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libantlr.a
|
||||
%defattr(0644,root,root)
|
||||
%attr(755,root,root) %{_libdir}/libantlr.a
|
||||
%{_includedir}/%{name}
|
||||
|
||||
%files -n python-%{name}
|
||||
@ -262,9 +256,9 @@ rm -rf %{buildroot}
|
||||
%py_sitedir/%{name}
|
||||
|
||||
%files csharp
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root)
|
||||
%dir %{_datadir}/%{name}-%{version}
|
||||
%{_datadir}/%{name}-%{version}/*dll
|
||||
%{_libdir}/*.dll
|
||||
%attr(755,root,root) %{_datadir}/%{name}-%{version}/*dll
|
||||
%attr(755,root,root) %{_libdir}/*.dll
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user