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

Line 
1Summary: An unwinding library
2Name: libunwind
3Version: 1.5.0
4Release: 1%{?_dist_release}
5Group: system
6Vendor: Project Vine
7Distribution: Vine Linux
8
9License: BSD
10URL: http://savannah.nongnu.org/projects/libunwind
11Source: http://download.savannah.nongnu.org/releases/libunwind/%{name}-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14ExclusiveArch: %{ix86} x86_64 ia64
15BuildRequires: zlib-devel
16
17%description
18Libunwind provides a C ABI to determine the call-chain of a program.
19
20
21%package devel
22Summary: Development package for libunwind
23Group: programming
24Requires: libunwind = %{version}-%{release}
25
26%description devel
27The libunwind-devel package includes the libraries and header files for
28libunwind.
29
30
31%debug_package
32
33
34%prep
35%setup -q
36
37
38%build
39%configure --enable-static --enable-shared --enable-setjmp=no
40%__make %{?_smp_mflags}
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45%makeinstall
46
47find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
48
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
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
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73
74%files
75%defattr(-,root,root)
76%license COPYING
77%doc README* NEWS
78%{_libdir}/*.so.*
79
80%files devel
81%defattr(-,root,root)
82%{_libdir}/*.so
83%{_libdir}/*.a
84%{_libdir}/pkgconfig/*.pc
85# <unwind.h> does not get installed for REMOTE_ONLY targets - check it.
86%{_includedir}/unwind.h
87%{_includedir}/libunwind*.h
88
89
90%changelog
91* Thu Feb 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1
92- new upstream release.
93
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
98* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
99- update to 1.0.1
100
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.