]>
Commit | Line | Data |
---|---|---|
78391356 | 1 | Summary: Tools to manipulate ELF files |
553dc19d | 2 | Summary(pl.UTF-8): Narzędzia do obróbki plików ELF |
71183e4b | 3 | Name: findsym |
90593776 | 4 | Version: 1.1 |
a8926334 | 5 | Release: 2 |
71183e4b | 6 | License: GPL |
7 | Group: Development/Tools | |
71183e4b | 8 | Source0: http://meatloop.andover.net/~count/src/%{name}-%{version}.tar.gz |
ed62f7cc | 9 | # Source0-md5: 406cbeb14b87b419b25593e1a4199e18 |
71183e4b | 10 | URL: http://freshmeat.net/projects/findsym/ |
11 | BuildArch: noarch | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | This program will attempt to search through all your shared libraries | |
90593776 | 16 | for a specific symbol. This is useful when trying to compile something |
17 | and the compiler complains about an undefined reference similar to | |
18 | this: /tmp/cceuy0nE.o(.text+0x7): undefined reference to `foo' Running | |
19 | "findsym foo" would try to locate the symbol foo and indicate what | |
20 | library you should be linking with. | |
71183e4b | 21 | |
492581ff JR |
22 | %description -l pl.UTF-8 |
23 | Ten program próbuje szukać określonego symbolu we wszystkich | |
24 | bibliotekach współdzielonych. Jest przydatny, kiedy próbujemy coś | |
25 | skompilować, a kompilator narzeka na niezdefiniowany symbol w sposób | |
78391356 | 26 | podobny do: /tmp/cceuy0nE.o(.text+0x7): undefined reference to `foo'. |
492581ff JR |
27 | Uruchomienie "findsym foo" spróbuje odnaleźć symbol foo i |
28 | zidentyfikować bibliotekę, z którą program powinien być konsolidowany. | |
71183e4b | 29 | |
30 | %prep | |
31 | %setup -q -n findsym | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
90593776 | 36 | |
71183e4b | 37 | install findsym $RPM_BUILD_ROOT%{_bindir} |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
170dfe48 | 44 | %doc CHANGES |
71183e4b | 45 | %attr(755,root,root) %{_bindir}/* |