]> git.pld-linux.org Git - packages/treecc.git/blame - treecc.spec
- release 2 (by relup.sh)
[packages/treecc.git] / treecc.spec
CommitLineData
5068aeaf
JB
1#
2# Conditional build:
3%bcond_without tests # "make check"
4#
755d68c5 5Summary: Tree compiler-compiler
93d4950e
ER
6Summary(pl.UTF-8): Kompilator kompilacji drzew
7Summary(pt_BR.UTF-8): Tree Compilador de compiladores
755d68c5 8Name: treecc
4b7beab3 9Version: 0.3.10
2d6a3fe4 10Release: 2
5068aeaf 11License: GPL v2+
755d68c5 12Group: Development/Languages
4b7beab3
JR
13Source0: http://download.savannah.gnu.org/releases/dotgnu-pnet/%{name}-%{version}.tar.gz
14# Source0-md5: def09f2132f87d6a38a0718e2f14ee61
15URL: http://www.gnu.org/software/dotgnu/pnet.html
59b6e087 16BuildRequires: autoconf
cb875049 17BuildRequires: automake >= 1.6
c694cd25
JB
18BuildRequires: bison
19BuildRequires: flex
842a880d 20BuildRequires: texinfo
755d68c5 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
842a880d 24The treecc program is designed to assist in the development of
25compilers and other language-based tools. It manages the generation of
26code to handle abstract syntax trees and operations upon the trees.
755d68c5 27
82b61fdf
JR
28%description -l pl.UTF-8
29Program treecc jest przeznaczony do pomocy w tworzeniu kompilatorów i
30innych bazujących na językach narzędzi. Zarządza generowaniem kodu do
31obsługi abstrakcyjnej składni drzew i operacji na drzewach.
755d68c5 32
82b61fdf
JR
33%description -l pt_BR.UTF-8
34O programa treecc é destinado a auxiliar no desenvolviemnto de
dea60dfe 35compiladores e outras ferramentas baseadas em linguagens. Ele controla
82b61fdf
JR
36a geração de código para manipulação de árvores de sintaxe abstrata e
37operações através de árvores
dea60dfe 38
755d68c5 39%prep
40%setup -q
41
42%build
8bd4b53d 43%{__aclocal}
67a76662 44%{__autoconf}
5068aeaf 45%{__autoheader}
67a76662 46%{__automake}
47%configure
3e3c98f9 48%{__make}
5068aeaf
JB
49
50%if %{with tests}
0df4ec62 51%{__make} check
5068aeaf 52%endif
755d68c5 53
54%install
842a880d 55rm -rf $RPM_BUILD_ROOT
56
e4b26295 57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
755d68c5 59
5068aeaf
JB
60# API not exported (should be noinst)
61%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtreecc.a
62
13881bd8
JB
63%clean
64rm -rf $RPM_BUILD_ROOT
65
5068aeaf 66%post -p /sbin/postshell
3f74a26f 67-/usr/sbin/fix-info-dir -c %{_infodir}
755d68c5 68
5068aeaf 69%postun -p /sbin/postshell
3f74a26f 70-/usr/sbin/fix-info-dir -c %{_infodir}
755d68c5 71
755d68c5 72%files
73%defattr(644,root,root,755)
5068aeaf
JB
74%doc AUTHORS ChangeLog NEWS README doc/{binary_readme,extending}.txt doc/essay.html
75%attr(755,root,root) %{_bindir}/treecc
76%{_mandir}/man1/treecc.1*
77%{_infodir}/treecc.info*
This page took 0.116871 seconds and 4 git commands to generate.