info:modutils.spec

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Czw, 17 Wrz 1998, 09:35:35 CEST


Hej,

Zrobilem modutilsy dla devela, ktos jeszcze musi zrobic dla stable...	
Oto one one:
Summary: Module utilities without kerneld
Summary(pl): Narzędzia do modułów jądra systemu bez kerneld
Name: modutils
Version: 2.1.121
Release: 1d
Copyright: GPL
Group: Utilities/System
Source: ftp://ftp.kernel.org/pub/linux/kernel/v2.1/%{name}-%{version}.tar.bz2
Exclusiveos: Linux
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Prereq: /sbin/chkconfig
Summary(de): Module-Utilities  
Summary(fr): Utiltaires de modules 
Summary(tr): Modül programlarý 


%description
The Linux kernel allows new kernel pieces to be loaded and old ones to
be unloaded while the kernel continues to run. These loadable piecs
are called modules, and can include device drivers and filesystems among
other things. This package includes program to load and unload programs
both automatically and manually.

%description -l pl
Jądro systemu Linux pozwala na to, aby podczas jego pracy możliwe było
dodawanie i usuwanie dodatkowych modułów. W modułach tych zawarta jest
obsługa sytemów plików, obsługa dodatkowych urządzeń takich jak karty 
sieciowe, karty muzyczne itp. oraz wiele innych rzeczy. Aplikacje 
znajdujace się w pakiecie modutils pozwalają na automatyczne lub ręczne
dodawanie i usuwanie tych modułów. Osoby pracujące na Linuxie PLD-devel
powinni pamiętać o tym, że jeżeli chcą uzywać modularnych sterowników do 
kart i systemów plików, powinny podczas configuracji jądra systemu (etap
poprzedzającym kompilację) skonfigurować kmod: 
	
	( Kernel module loader (CONFIG_KMOD) [Y/n] y ) 

%description -l de
Der Linux-Kernel gestattet es, Kernelteile zu laden und alte zu entladen, 
während der Kernel weiterläuft. Diese ladbaren Teile heißen Module und 
können unter anderem Gerätetreiber und Dateisysteme sein. Das Paket enthält
Programme zum automatischen und manuellen Laden und Entladen von Programmen. 

%description -l fr
Le noyau Linux permet ŕ de nouvelles parties d'ętre chargées et aux
anciennes d'ętre déchargées pendant que le noyau continue ŕ tourner.
Ces parties chargeables s'appellent des modules et peuvent inclure des
pilotes de périphériques et des systčmes de fichiers, entre autres.
Ce paquetage contient un programme pour charger et décharger automatiquement
ou manuellement des programmes.

%description -l tr
Linux çekirdeđi, çalýţma anýnda yeni çekirdek parçalarýnýn yüklenmesine ve
eski parçalarýn kaldýrýlmasýna izin verir. Bu yüklenebilir çekirdek parçalarý
'modül' olarak isimlendirilir ve bunlar arasýnda aygýt sürücüleri ve dosya
sistemleri sayýlabilir. Bu paket, programlarýn yüklenmesi ve kaldýrýlmasýný
hem otomatik hem de elle yapmaya izin veren programlar içermektedir.

%prep
%setup -q

%build
./configure --prefix=/usr 
make dep all

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/{usr/man/man{1,8},sbin}
make install prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/sbin/kerneld
rm -f $RPM_BUILD_ROOT/usr/man/man8/kerneld.8
cd $RPM_BUILD_ROOT/usr/man/man1
ln -sf depmod.1 modprobe.1

strip $RPM_BUILD_ROOT/sbin/* || :

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(0644, root, root, 755)
%doc NEWS COPYING
%attr(0710, root, root) /sbin/*
%attr(0644, root, man) /usr/man/man[18]/*

%changelog

* Thu Sep 15 1998 Wojtek Ślusarczyk <wojtek w shadow.eu.org>
[2.1.121-1d]
- build against GNU libc-2.1,
- translation modified for pl,
- restricted ELF binaries permissions,
- macro %%{name}-%%{version} in Source,
- changed URL to ftp://ftp.kernel.org,
- moved Buildroot to /var/tmp/%{name}-%{version}-%{release}-root
- added %defattr and %attr support,
- changed group for man pages to man (gid=15),
- install -d instead mkdir -p,
- removed kerneld - we don't need it on Tornado,
- build from non root's account.
- minor modifications of the spec file.

* Fri May 01 1998 Erik Troan <ewt w redhat.com>

- added /lib/modules/preferred to search path

* Fri Apr 24 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Tue Apr 07 1998 Cristian Gafton <gafton w redhat.com>
- updated to 2.1.85
- actually make use of the BuildRoot

* Fri Nov  7 1997 Michael Fulbright
- removed warning message when conf.modules exists and is a empty

* Tue Oct 28 1997 Erik Troan <ewt w redhat.com>
- patched to honor -k in options
- added modprobe.1
- added init script

* Thu Oct 23 1997 Erik Troan <ewt w redhat.com>
- removed bogus strip of lsmod (which is a script)

* Mon Oct 20 1997 Erik Troan <ewt w redhat.com>
- updated to 2.1.55
- builds in a buildroot

* Mon Aug 25 1997 Erik Troan <ewt w redhat.com>
- added insmod.static

* Sun Aug 24 1997 Erik Troan <ewt w redhat.com>
- built on Intel
- combined rmmod and insmod
 


Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu



Więcej informacji o liście dyskusyjnej pld-devel-pl