source: projects/specs/branches/6/d/dietlibc/dietlibc-vl.spec @ 3662

Revision 3662, 3.9 KB checked in by daisuke, 13 years ago (diff)

dietlibc: update to 0.32

Line 
1Summary: A small libc implementation
2Summary(ja): 小さな libc の実装
3Name: dietlibc
4Version: 0.32
5Release: 1%{?_dist_release}
6Group: Development/Libraries
7License: GPL
8Url: http://www.fefe.de/dietlibc/
9
10Source0: %{name}-%{version}.tar.bz2
11Patch1:         dietlibc-0.28-setpriority.patch
12Patch3:         dietlibc-0.24-gnuokay.patch
13Patch10:        dietlibc-0.29-scall.patch
14Patch30:        dietlibc-0.30-longdouble.patch
15Patch31:        dietlibc-0.31-defpath.patch
16Patch32:        dietlibc-0.31-stacksmash.patch
17Patch33:        dietlibc-0.31-stacksmash-dyn.patch
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20ExclusiveArch: %{ix86} x86_64 alpha ppc
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: daisuke
25
26%description
27A small libc implementation
28
29%description -l ja
30小さな libc の実装
31
32
33%prep
34%setup -q
35%patch1  -p1 -b .nice
36%patch3  -p1 -b .gnuokay
37%patch10 -p1 -b .scall
38%patch30 -p1 -b .longdouble
39%patch31 -p1 -b .defpath
40%patch32 -p1 -b .stacksmash
41%patch33 -p1 -b .stacksmash-dyn
42
43sed -i -e 's!strip !: !g' Makefile
44
45%global fixcflags       -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables -Os
46%global basemakeflags   prefix=%_libdir/dietlibc BINDIR=%_bindir MAN1DIR=%_mandir/man1 COMMENT=: CFLAGS="$RPM_OPT_FLAGS %fixcflags" PDIET=%_libdir/dietlibc
47%global makeflags       %basemakeflags
48
49%build
50make %makeflags all %{?_smp_mglags}
51
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make %makeflags DESTDIR=$RPM_BUILD_ROOT install
56
57ln -s lib-%_arch ${RPM_BUILD_ROOT}%_libdir/dietlibc/lib-%_arch-%_vendor
58
59chmod a-x $RPM_BUILD_ROOT%_libdir/dietlibc/lib-*/*.o
60rm -f $RPM_BUILD_ROOT%_bindir/dnsd
61
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66
67%files
68%defattr(-,root,root)
69%doc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO
70%{_bindir}/*
71%{_libdir}/dietlibc
72%{_mandir}/man*/*
73
74
75%changelog
76* Sat Apr 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.32-1
77- update to 0.32
78
79* Sun Jul 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.31-1
80- applied new versioning policy
81- spec in UTF-8
82
83* Sat Sep 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31-0vl1
84- new upstream release
85
86* Fri Jun 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.25-0vl1
87- new upstream release
88
89* Tue Dec 10 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.21-2vl1
90- based on 0.21-2 from Rawhide and built for Vine Linux
91
92* Tue Nov 19 2002 Bill Nottingham <notting@redhat.com>
93- use the right elf definition for hammer
94
95* Fri Nov  1 2002 Jeremy Katz <katzj@redhat.com>
96- update to 0.21
97- stop applying patches already upstream
98- i386 optimized getenv should work now
99
100* Tue Oct 22 2002 Jeremy Katz <katzj@redhat.com>
101- also build on alpha, x86_64, and ppc
102- add a patch so that the ppc64 kernel still builds for ppc
103
104* Tue Aug 13 2002 Jeremy Katz <katzj@redhat.com>
105- apply patch to fix fwrite with empty strings from upstream cvs
106
107* Fri Aug  9 2002 Jeremy Katz <katzj@redhat.com>
108- apply patch to fix calloc from upstream cvs
109
110* Fri Aug  9 2002 Jeremy Katz <katzj@redhat.com>
111- update to 0.19
112- __thread patch is present, so don't apply anymore
113
114* Wed Jul 10 2002 Erik Troan <ewt@redhat.com>
115- upgraded to 0.18
116- added patch to work around __thread being a gcc 3.1 keyword
117
118* Thu May 23 2002 Tim Powers <timp@redhat.com>
119- automated rebuild
120
121* Thu Mar 14 2002 Jeremy Katz <katzj@redhat.com>
122- remove the i386 optimized getenv since it seems to break when you have
123  two variables that start out the same (eg LANG and LANGKEY)
124
125* Tue Feb 26 2002 Erik Troan <ewt@redhat.com>
126- updated to 0.15 -- no more RH specific patches required
127
128* Wed Feb 20 2002 Jeremy Katz <katzj@redhat.com>
129- update to 0.14 which includes a lot of Erik's patches
130- include the man page
131- munge a few patches
132- we want to allow linking against glibc objects
133
134* Mon Feb  4 2002 Bill Nottingham <notting@redhat.com>
135- add fdatasync
136
137* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
138- automated rebuild
139
140* Sat Dec 15 2001 Erik Troan <ewt@redhat.com>
141- fixed putenv to remove environment variables
142
143* Fri Dec 07 2001 Erik Troan <ewt@redhat.com>
144- added fnmatch() fix
145
146* Fri Nov 09 2001 Erik Troan <ewt@redhat.com>
147- initial packaging
Note: See TracBrowser for help on using the repository browser.