Pascal Bleser 2010-12-03 20:36:23 +00:00 committed by Git OBS Bridge
commit 281fc102c1
5 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libsigsegv-2.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43614d495ec1aa73b2aec63b6a702508955025de53b1ab1a9f4f96799bd5b1e5
size 319113

5
libsigsegv.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Dec 3 20:36:03 UTC 2010 - pascal.bleser@opensuse.org
- initial package (2.9)

73
libsigsegv.spec Normal file
View File

@ -0,0 +1,73 @@
# vim: set sw=4 ts=4 et nu:
Name: libsigsegv
Version: 2.9
%define soname 2
Release: 0
Summary: Handling Page Faults in User Mode
# ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
Source: libsigsegv-%{version}.tar.bz2
URL: http://libsigsegv.sourceforge.net/
Group: System/Libraries
License: GNU General Public License version 2 or later (GPL v2 or later)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel pkgconfig
BuildRequires: autoconf automake libtool
%description
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.
%package -n %{name}%{soname}
Summary: Handling Page Faults in User Mode
Group: System/Libraries
%description -n %{name}%{soname}
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.
%package devel
Summary: Handling Page Faults in User Mode
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}-%{release}
%description devel
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.
%prep
%setup -q
%build
%configure \
--enable-shared
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%__rm "%{buildroot}%{_libdir}/libsigsegv.la"
%check
%__make check
%post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -n %{name}%{soname}
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog* NEWS PORTING README
%{_libdir}/libsigsegv.so.%{soname}
%{_libdir}/libsigsegv.so.%{soname}.*
%files devel
%defattr(-,root,root)
%{_includedir}/sigsegv.h
%{_libdir}/libsigsegv.so
%{_libdir}/libsigsegv.a