1 | Name: libsigsegv |
---|
2 | Summary: Library for handling page faults in user mode |
---|
3 | Version: 2.10 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv2 |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://libsigsegv.sourceforge.net/ |
---|
8 | Source0: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | |
---|
14 | %description |
---|
15 | This is a library for handling page faults in user mode. A page fault |
---|
16 | occurs when a program tries to access to a region of memory that is |
---|
17 | currently not available. Catching and handling a page fault is a useful |
---|
18 | technique for implementing: |
---|
19 | |
---|
20 | - pageable virtual memory, |
---|
21 | - memory-mapped access to persistent databases, |
---|
22 | - generational garbage collectors, |
---|
23 | - stack overflow handlers, |
---|
24 | - distributed shared memory, |
---|
25 | - ... |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development libraries and headers for %{name} |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | |
---|
32 | %description devel |
---|
33 | Development libraries and headers for %{name}. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --enable-shared --enable-static |
---|
40 | make |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf %{buildroot} |
---|
44 | %makeinstall |
---|
45 | ## remove unuse files |
---|
46 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
47 | |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %post -p /sbin/ldconfig |
---|
53 | |
---|
54 | %postun -p /sbin/ldconfig |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-,root,root) |
---|
58 | %{_libdir}/*.so.* |
---|
59 | |
---|
60 | %files devel |
---|
61 | %defattr(-,root,root) |
---|
62 | %doc AUTHORS COPYING ChangeLog* NEWS PORTING README |
---|
63 | %{_includedir}/*.h |
---|
64 | %{_libdir}/*.so |
---|
65 | %{_libdir}/*.a |
---|
66 | #%{_libdir}/*.la |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.10-1 |
---|
70 | - update to 2.10 |
---|
71 | |
---|
72 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.8-2 |
---|
73 | - rebuilt with rpm-4.8.1-3 |
---|
74 | |
---|
75 | * Tue Feb 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1 |
---|
76 | - new upstream release |
---|
77 | - built with new toolchain |
---|
78 | |
---|
79 | * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-1 |
---|
80 | - new upstream release |
---|
81 | |
---|
82 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1vl5 |
---|
83 | - applied new versioning policy |
---|
84 | - removed *.la |
---|
85 | |
---|
86 | * Sun Mar 18 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.4-0vl1 |
---|
87 | - Initial build. |
---|
88 | |
---|