]> git.pld-linux.org Git - packages/prctl.git/blob - prctl.spec
- added alpha-sysinfo patch, now --unaligned works on alpha
[packages/prctl.git] / prctl.spec
1 Summary:        Utility to perform process operations
2 Summary(pl):    Narzêdzie do wykonywania operacji na procesach
3 Name:           prctl
4 Version:        1.4
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/prctl/%{name}-%{version}.tar.gz
9 # Source0-md5:  f494842da5edc7c84adf506685301052
10 # emulate PR_[GS]ET_UNALIGN on alpha using osf_[gs]etsysinfo
11 Patch0:         %{name}-alpha-sysinfo.patch
12 URL:            http://sourceforge.net/projects/prctl/
13 BuildRequires:  sed >= 4.0
14 # could be useful on other archs (alpha, hppa, s390), but Linux doesn't support it...
15 ExclusiveArch:  alpha ia64
16 ExclusiveOS:    linux
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The prctl utility allows a user to control certain process behavior in
21 the runtime environment. Supported process behavior is handling of
22 unaligned memory access and handling of floating point software assist
23 faults (on IPF systems). This utility works on Linux 2.4 and higher
24 kernels only.
25
26 %description -l pl
27 Narzêdzie prctl umo¿liwia sterowanie zachowaniem procesów w ¶rodowisku
28 uruchomieniowym. Obs³ugiwane zachowania to obs³uga niewyrównanego
29 dostêpu do pamiêci oraz obs³uga wyj±tków dla programowej obs³ugi
30 operacji zmiennoprzecinkowych (na systemach IPF). Narzêdzie to dzia³a
31 tylko pod Linuksem 2.4 i nowszym.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 %configure2_13
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_prefix}
44
45 %{__make} install \
46         prefix=$RPM_BUILD_ROOT%{_prefix} \
47         mandir=$RPM_BUILD_ROOT%{_mandir}/man1
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc ChangeLog
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man1/prctl.1*
This page took 0.417555 seconds and 4 git commands to generate.