]> git.pld-linux.org Git - packages/dietlibc.git/blob - dietlibc.spec
- changed: make -> %%{__make}
[packages/dietlibc.git] / dietlibc.spec
1 Summary:        C library optimized for size
2 Name:           dietlibc
3 Version:        20010410
4 Release:        1
5 License:        GPL
6 Group:          Development/Libraries
7 Group(de):      Entwicklung/Libraries
8 Group(fr):      Development/Librairies
9 Group(pl):      Programowanie/Biblioteki
10 Source0:        http://www.fefe.de/dietlibc/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-install.patch
12 URL:            http://www.fefe.de/dietlibc/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15
16 %define boot /usr/lib/bootdisk
17 %define _prefix %{boot}/usr
18
19
20 %description
21 Small libc for building embedded applications.
22
23 %package devel
24 Summary:        Development files for dietlibc
25 Group:          Development/Libraries
26 Group(de):      Entwicklung/Libraries
27 Group(fr):      Development/Librairies
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Small libc for building embedded applications.
33
34 %prep
35 %setup -q -n %{name}
36 %patch -p1
37
38
39 %build
40 %{__make} DIETHOME=%{_prefix}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_libdir}
45 install -d $RPM_BUILD_ROOT%{_bindir}
46 %{__make} prefix=%{_prefix} INSTALLPREFIX=$RPM_BUILD_ROOT install
47 cp -a include/ $RPM_BUILD_ROOT/%{_includedir}
48
49 #rm include/asm include/linux
50
51
52 gzip -9nf README THANKS CAVEAT BUGS AUTHOR
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc *.gz
60 %attr(755,root,root) %{_bindir}/*
61 %{_libdir}/*
62
63 %files devel
64 %defattr(644,root,root,755)
65 %{_includedir}/*
This page took 0.070923 seconds and 4 git commands to generate.