Last change
on this file since 99f97d3f was
9b0bb5a4,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/28/03 at 15:39:35
|
2003-01-28 Ralf Corsepius <corsepiu@…>
- gccnewlib.add: Add various BuildPreReq?.
Add %defattr(-,root,root) to "dir".
- base-g77.add: %defattr(-,root,root).
- base-gcc.add %defattr(-,root,root).
- base-gcj.add %defattr(-,root,root).
- base-gnat.add %defattr(-,root,root).
- target-c++.add %defattr(-,root,root).
- target-g77.add %defattr(-,root,root).
- target-gcc.add %defattr(-,root,root).
- target-gcj.add %defattr(-,root,root).
- target-gnat.add %defattr(-,root,root).
- target-objc.add %defattr(-,root,root).
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | %if %build_g77 |
---|
2 | # ============================================================== |
---|
3 | # rtems-base-g77 |
---|
4 | # ============================================================== |
---|
5 | %package -n rtems-base-g77 |
---|
6 | Provides: rtems-base-g77 |
---|
7 | Summary: rtems base package for gcc/g77 compiler |
---|
8 | Group: rtems |
---|
9 | Requires: rtems-base-gcc |
---|
10 | |
---|
11 | %description -n rtems-base-g77 |
---|
12 | RTEMS is an open source operating system for embedded systems. |
---|
13 | |
---|
14 | This is the files for gcc/g77 that are shared by all targets. |
---|
15 | |
---|
16 | %files -n rtems-base-g77 |
---|
17 | %defattr(-,root,root) |
---|
18 | %dir %{_prefix}/info |
---|
19 | %doc %{_prefix}/info/g77.info*.gz |
---|
20 | |
---|
21 | %dir %{_prefix}/man |
---|
22 | %dir %{_prefix}/man/man1 |
---|
23 | %doc %{_prefix}/man/man1/@target_alias@-g77.1* |
---|
24 | |
---|
25 | %post -n rtems-base-g77 |
---|
26 | if test -d $RPM_INSTALL_PREFIX%{_prefix}/info; |
---|
27 | then |
---|
28 | rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir |
---|
29 | f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'` |
---|
30 | test -n "$f" && for i in $f; do |
---|
31 | install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir |
---|
32 | done |
---|
33 | fi |
---|
34 | |
---|
35 | %postun -n rtems-base-g77 |
---|
36 | if test -d $RPM_INSTALL_PREFIX%{_prefix}/info; |
---|
37 | then |
---|
38 | rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir |
---|
39 | f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'` |
---|
40 | test -n "$f" && for i in $f; do |
---|
41 | install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir |
---|
42 | done |
---|
43 | fi |
---|
44 | |
---|
45 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.