]> git.pld-linux.org Git - packages/dietlibc.git/commitdiff
- raw version from MDK.
authorkloczek <kloczek@pld-linux.org>
Wed, 4 Apr 2001 18:06:59 +0000 (18:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dietlibc.spec -> 1.1

dietlibc.spec [new file with mode: 0644]

diff --git a/dietlibc.spec b/dietlibc.spec
new file mode 100644 (file)
index 0000000..28f79d6
--- /dev/null
@@ -0,0 +1,62 @@
+%define name   dietlibc
+%define version        0.7.3
+%define release        2mdk
+%define snapver        20010309
+
+Summary:       C library optimized for size
+Name:          %{name}
+Version:       %{version}
+Release:       %{release}
+Copyright:     GPL
+Group:         Development/Other
+BuildRoot:     %{_tmppath}/%{name}-%{version}-build
+Requires:      common-licenses
+
+Source0:       http://www.fefe.de/dietlibc/%{name}-%{snapver}.tar.bz2
+Patch0:                dietlibc-20010308-install-includes.patch.bz2
+
+%description
+Small libc for building embedded applications.
+
+%package devel
+Group:          Development/C
+Summary:        Development files for dietlibc
+Requires:       %name = %version-%release
+
+%description devel
+Small libc for building embedded applications.
+
+%prep
+%setup -q -n %{name}-%{snapver}
+%patch0 -p1
+( cd include ; ln -s /usr/src/linux/include/linux . )
+( cd include ; ln -s /usr/src/linux/include/asm-i386 asm )
+
+%build
+# Override normal cflags with optimization for size
+%make "CFLAGS=-nostdinc -march=i586 -fomit-frame-pointer -Os -I/usr/lib/gcc-lib/i586-mandrake-linux/2.96/include"
+
+%install
+rm include/asm include/linux
+make prefix=%{_prefix} INSTALLPREFIX=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README THANKS CAVEAT BUGS AUTHOR
+
+%files devel
+%defattr(-,root,root)
+%doc CHANGES TODO
+%{_prefix}/share/dietlibc/*
+%{_libdir}/*
+
+%changelog
+* Thu Mar  9 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 0.7.3-2mdk
+- new cvs snapshot, adds mkstemp and syslog support among other things
+- install includes in /usr/share/dietlibc/include (gc suggest)
+
+* Thu Mar  8 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 0.7.3-1mdk
+- first mdk contribs version: pre-0.7.3 cvs snapshot 20010308.
This page took 0.086755 seconds and 4 git commands to generate.