automatic version update by autodist [release 0.35-1mamba;Mon Nov 25 2024]

This commit is contained in:
Automatic Build System 2024-11-29 16:22:12 +01:00
parent 5b2021c21e
commit 97e10e8317

View File

@ -1,7 +1,7 @@
%define target_cpu %(echo %{_target_cpu} | sed -e "s,i.86\\|pentium.\\|athlon,i386,;s,amd64,x86_64,;s,armv.*,arm,") %define target_cpu %(echo %{_target_cpu} | sed -e "s,i.86\\|pentium.\\|athlon,i386,;s,amd64,x86_64,;s,armv.*,arm,")
Name: dietlibc Name: dietlibc
Version: 0.34 Version: 0.35
Release: 1mamba Release: 1mamba
Summary: A libc optimized for small size Summary: A libc optimized for small size
Group: Development/Libraries Group: Development/Libraries
@ -10,10 +10,9 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.fefe.de/dietlibc/ URL: http://www.fefe.de/dietlibc/
Source: http://www.fefe.de/dietlibc/dietlibc-%{version}.tar.xz Source: http://www.fefe.de/dietlibc/dietlibc-%{version}.tar.xz
#Source: http://www.kernel.org/pub/linux/libs/dietlibc/dietlibc-%{version}.tar.bz2 ## AUTOBUILDREQ-BEGIN
#Patch0: dietlibc-0.33-fix-missing-header-nice_s.patch ## AUTOBUILDREQ-END
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The diet libc is a libc that is optimized for small size. The diet libc is a libc that is optimized for small size.
@ -22,71 +21,26 @@ It can be used to create small statically linked binaries for Linux on alpha, ar
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
The diet libc is a libc that is optimized for small size. The diet libc is a libc that is optimized for small size.
It can be used to create small statically linked binaries for Linux on alpha, arm, hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64. It can be used to create small statically linked binaries for Linux on alpha, arm, hppa, ia64, i386, mips, s390, sparc, sparc64, ppc and x86_64.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q %setup -q
#%patch0 -p1
%build %build
make \ %make \
CROSS=%{_target_platform}- \
MYARCH=%{target_cpu} \
ARCH=%{target_cpu} \
all profiling \
prefix=%{_libdir}/%{name} \ prefix=%{_libdir}/%{name} \
BINDIR=%{_bindir} \ BINDIR=%{_bindir} \
MAN1DIR=%{_mandir}/man1 MAN1DIR=%{_mandir}/man1
#dyn_lib
#case %{_target_cpu} in
# i586)
# make %{_smp_mflags} MYARCH=$TARGET_CPU \
# CROSS=ppc-qilinux-linux-gnu- ARCH=ppc all
# ;;
# *)
# make %{_smp_mflags} MYARCH=$TARGET_CPU \
# CROSS=i586-qilinux-linux-gnu- ARCH=i386 all
# ;;
#esac
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
install -d %{buildroot}/etc/
#case %{_target_cpu} in
# i586)
# TARGET_CPU=i386
# make install \
# MYARCH=$TARGET_CPU \
# ARCH=ppc \
# DESTDIR=%{buildroot} \
# prefix=%{_libdir}/%{name} \
# BINDIR=%{_bindir} \
# MAN1DIR=%{_mandir}/man1
# ;;
# *)
# TARGET_CPU=%{_target_cpu}
# make install \
# MYARCH=$TARGET_CPU \
# ARCH=i386 \
# DESTDIR=%{buildroot} \
# prefix=%{_libdir}/%{name} \
# BINDIR=%{_bindir} \
# MAN1DIR=%{_mandir}/man1
# ;;
#esac
make install \
MYARCH=%{target_cpu} \
DESTDIR=%{buildroot} \
prefix=%{_libdir}/%{name} \ prefix=%{_libdir}/%{name} \
BINDIR=%{_bindir} \ BINDIR=%{_bindir} \
MAN1DIR=%{_mandir}/man1 MAN1DIR=%{_mandir}/man1
@ -94,18 +48,9 @@ make install \
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#%files
#%defattr(-,root,root,0755)
#%dir %{_libdir}/%{name}
#%dir %{_libdir}/%{name}/lib-%{target_cpu}
#%{_libdir}/%{name}/lib-%{target_cpu}/*.so
#%{_sysconfdir}/diet.ld.conf
#%doc AUTHOR COPYING
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root)
%{_bindir}/diet %{_bindir}/diet
#%{_bindir}/diet-dyn
%{_bindir}/dnsd %{_bindir}/dnsd
%{_bindir}/elftrunc %{_bindir}/elftrunc
%{_libdir}/%{name}/include %{_libdir}/%{name}/include
@ -115,6 +60,9 @@ make install \
%doc README README.* SECURITY THANKS TODO %doc README README.* SECURITY THANKS TODO
%changelog %changelog
* Mon Nov 25 2024 Automatic Build System <autodist@openmamba.org> 0.35-1mamba
- automatic version update by autodist
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.34-1mamba * Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.34-1mamba
- update to 0.34 - update to 0.34
@ -141,8 +89,8 @@ make install \
- rebuilt with dietlibc-0.24 - rebuilt with dietlibc-0.24
- added profiling and dynamic library versions - added profiling and dynamic library versions
* Mon Apr 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.22-2qilnx * Wed Apr 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.22-2qilnx
- changed prefix to make diet find its libraries - changed prefix to make diet find its libraries
* Mon Apr 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.22-1qilnx * Wed Apr 23 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.22-1qilnx
- first build - first build