- 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:
Michal Vyskocil 2012-10-31 10:25:47 +00:00 committed by Git OBS Bridge
parent c91ada0e6c
commit 2c2517d9c8
3 changed files with 28 additions and 27 deletions

View File

@ -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
# 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: 79
Url: http://www.antlr.org
License: BSD-3-Clause and SUSE-Public-Domain
Group: Development/Libraries/Java
License: BSD3c ; Public Domain, Freeware
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

View File

@ -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

View File

@ -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
# remain the property of their copyright owners, unless otherwise agreed
@ -20,11 +20,11 @@
Name: antlr
Version: 2.7.7
Release: 79
License: GPLv2+ ; Public Domain, Freeware ; 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: GPLv2+ ; Public Domain, Freeware ; 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: GPLv2+ ; Public Domain, Freeware ; 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: GPLv2+ ; Public Domain, Freeware ; 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: GPLv2+ ; Public Domain, Freeware ; MIT
Summary: ANother Tool for Language Recognition (c++ runtime)
Group: Development/Tools/Other
Requires: antlr
@ -121,7 +117,6 @@ of antlr
%package -n python-%{name}
License: GPLv2+ ; Public Domain, Freeware ; MIT
Summary: ANother Tool for Language Recognition (python runtime)
Group: Development/Tools/Other
Requires: antlr
@ -136,7 +131,6 @@ ANTLR Python support was contributed (and is to be maintained) by Wolfgang
Haefelinger and Marq Kole.
%package csharp
License: GPLv2+ ; Public Domain, Freeware ; MIT
Summary: ANother Tool for Language Recognition (python runtime)
Group: Development/Tools/Other
Requires: antlr
@ -214,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
@ -249,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}
@ -261,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