]>
Commit | Line | Data |
---|---|---|
f86cb94e | 1 | Summary: C run-time support for ANTLR-generated parsers |
468863a5 | 2 | Summary(pl.UTF-8): Biblioteka uruchomieniowa C wspomagająca analizatory wygenerowane przez ANTLR |
270c438c | 3 | Name: libantlr3c |
d7089e03 | 4 | Version: 3.4 |
f86cb94e | 5 | Release: 1 |
270c438c | 6 | License: BSD |
7 | Group: Libraries | |
468863a5 | 8 | Source0: http://www.antlr3.org/download/C/%{name}-%{version}.tar.gz |
d7089e03 | 9 | # Source0-md5: 08b1420129d5dccd0f4461cedf2a0d7d |
468863a5 | 10 | URL: http://www.antlr3.org/ |
270c438c | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
f86cb94e | 14 | C run-time support for ANTLR-generated parsers. |
270c438c | 15 | |
16 | %description -l pl.UTF-8 | |
468863a5 JB |
17 | Biblioteka uruchomieniowa C wspomagająca analizatory wygenerowane |
18 | przez ANTLR. | |
270c438c | 19 | |
20 | %package devel | |
468863a5 JB |
21 | Summary: Header files for the C bindings for ANTLR-generated parsers |
22 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań C analizatorów wygenerowanych przez ANTLR | |
270c438c | 23 | Group: Development/Libraries |
24 | Requires: %{name} = %{version}-%{release} | |
25 | ||
26 | %description devel | |
f86cb94e | 27 | Header files for the C bindings for ANTLR-generated parsers |
270c438c | 28 | |
29 | %description devel -l pl.UTF-8 | |
468863a5 | 30 | Pliki nagłówkowe wiązań C analizatorów wygenerowanych przez ANTLR. |
270c438c | 31 | |
32 | %package static | |
33 | Summary: Static libantlr3c library | |
34 | Summary(pl.UTF-8): Statyczna biblioteka libantlr3c | |
35 | Group: Development/Libraries | |
2ff878de | 36 | Requires: %{name}-devel = %{version}-%{release} |
270c438c | 37 | |
38 | %description static | |
39 | Static libantlr3c library. | |
40 | ||
41 | %description static -l pl.UTF-8 | |
42 | Statyczna biblioteka libantlr3c. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %configure | |
49 | %{__make} | |
50 | ||
270c438c | 51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
f86cb94e | 60 | # even there's no SONAME symlink, run ldconfig to get library into ld.so.cache |
270c438c | 61 | %post -p /sbin/ldconfig |
62 | %postun -p /sbin/ldconfig | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
468863a5 | 66 | %doc AUTHORS COPYING ChangeLog NEWS README |
270c438c | 67 | %attr(755,root,root) %{_libdir}/libantlr3c.so |
68 | ||
69 | %files devel | |
70 | %defattr(644,root,root,755) | |
468863a5 JB |
71 | %{_libdir}/libantlr3c.la |
72 | %{_includedir}/antlr3*.h | |
270c438c | 73 | |
74 | %files static | |
75 | %defattr(644,root,root,755) | |
76 | %{_libdir}/libantlr3c.a |