source: projects/specs/trunk/lib/libu/libunwind/libunwind-vl.spec @ 12534

Revision 12534, 2.7 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

freetype2-2.10.4-1

iproute-5.10.0-1

kmod-28-1

libunwind-1.5.0-1

net-tools-2.10-1

screen-4.8.0-2

util-linux-2.36.2-1

RevLine 
[521]1Summary: An unwinding library
2Name: libunwind
[12534]3Version: 1.5.0
[6994]4Release: 1%{?_dist_release}
[12534]5Group: system
6Vendor: Project Vine
7Distribution: Vine Linux
8
[521]9License: BSD
10URL: http://savannah.nongnu.org/projects/libunwind
11Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
12
[12534]13BuildRoot: %{_tmppath}/%{name}-%{version}-root
[521]14ExclusiveArch: %{ix86} x86_64 ia64
[12534]15BuildRequires: zlib-devel
[521]16
17%description
18Libunwind provides a C ABI to determine the call-chain of a program.
19
[12534]20
[521]21%package devel
22Summary: Development package for libunwind
[12534]23Group: programming
[6994]24Requires: libunwind = %{version}-%{release}
[521]25
26%description devel
27The libunwind-devel package includes the libraries and header files for
28libunwind.
29
[12534]30
31%debug_package
32
33
[521]34%prep
35%setup -q
36
[12534]37
[521]38%build
[11499]39%configure --enable-static --enable-shared --enable-setjmp=no
[521]40%__make %{?_smp_mflags}
41
[12534]42
[521]43%install
44rm -rf $RPM_BUILD_ROOT
45%makeinstall
46
[11499]47find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
[521]48
[11499]49# [...] aren't really part of the libunwind API.  They are implemented in
50# a archive library called libunwind-ptrace.a.
51mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save
52rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind*.a
53mv -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a-save $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace.a
54rm -f $RPM_BUILD_ROOT%{_libdir}/libunwind-ptrace*.so*
55
[12534]56
57%if 0%{?_with_check:1} || 0%{?_with_testsuite:1}
58%check
59echo ====================TESTING=========================
60make check || true
61echo ====================TESTING END=====================
62%else
63echo ====================TESTSUITE DISABLED=========================
64%endif
65
[521]66%clean
67rm -rf $RPM_BUILD_ROOT
68
[12534]69
[521]70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
[12534]73
[521]74%files
75%defattr(-,root,root)
[12534]76%license COPYING
77%doc README* NEWS
78%{_libdir}/*.so.*
[521]79
80%files devel
81%defattr(-,root,root)
[12534]82%{_libdir}/*.so
83%{_libdir}/*.a
84%{_libdir}/pkgconfig/*.pc
[11499]85# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
86%{_includedir}/unwind.h
87%{_includedir}/libunwind*.h
[521]88
[12534]89
[521]90%changelog
[12534]91* Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1
92- new upstream release.
93
[11499]94* Sun Feb 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.1-1
95- new upstream release.
96- dropped all patches.
97
[6994]98* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
99- update to 1.0.1
100
[521]101* Tue Dec  2 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.98.6-2
102- ExclusiveArch set to %%{ix86} x86_64 ia64
103
104* Fri Nov 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.6-1
105- new upstream release
106- remove static libs
107
108* Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 0.98.5-1vl5
109- applied new versioning policy
110
111* Sat Jun 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98.5
112- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.