From 281fc102c1fe52e58ab6f2b03ef5528c9505e4decc42bfde33168b67e2df1062 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Fri, 3 Dec 2010 20:36:23 +0000 Subject: [PATCH] 2.9 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsigsegv?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + libsigsegv-2.9.tar.bz2 | 3 ++ libsigsegv.changes | 5 +++ libsigsegv.spec | 73 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libsigsegv-2.9.tar.bz2 create mode 100644 libsigsegv.changes create mode 100644 libsigsegv.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libsigsegv-2.9.tar.bz2 b/libsigsegv-2.9.tar.bz2 new file mode 100644 index 0000000..9925882 --- /dev/null +++ b/libsigsegv-2.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43614d495ec1aa73b2aec63b6a702508955025de53b1ab1a9f4f96799bd5b1e5 +size 319113 diff --git a/libsigsegv.changes b/libsigsegv.changes new file mode 100644 index 0000000..523babb --- /dev/null +++ b/libsigsegv.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Dec 3 20:36:03 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (2.9) + diff --git a/libsigsegv.spec b/libsigsegv.spec new file mode 100644 index 0000000..81ef31f --- /dev/null +++ b/libsigsegv.spec @@ -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 +