diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-05 13:19:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-05 13:19:19 +0000 |
commit | 2fdb0c5a963de477db36a0f6664e8ce12e743998 (patch) | |
tree | bb7feca5f9666b8066608e21bb1bdb303b3ab5bc /perl-install/drakxtools.spec | |
parent | 940e4996e7d6fb6fdbff0b4a0c6c199a53d7edde (diff) | |
download | drakx-2fdb0c5a963de477db36a0f6664e8ce12e743998.tar drakx-2fdb0c5a963de477db36a0f6664e8ce12e743998.tar.gz drakx-2fdb0c5a963de477db36a0f6664e8ce12e743998.tar.bz2 drakx-2fdb0c5a963de477db36a0f6664e8ce12e743998.tar.xz drakx-2fdb0c5a963de477db36a0f6664e8ce12e743998.zip |
- M-q descriptions
- simplify file lists building
- we can use several -f on one "%%files" line
Diffstat (limited to 'perl-install/drakxtools.spec')
-rw-r--r-- | perl-install/drakxtools.spec | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec index 8d3892ef6..2af69b348 100644 --- a/perl-install/drakxtools.spec +++ b/perl-install/drakxtools.spec @@ -51,10 +51,10 @@ server. It works on console and under X :) It autodetects both monitor and video card if possible. diskdrake: The purpose of the DiskDrake project is to make hard disk -partitioning easier. It is graphical, simple and powerful. Different skill -levels are available (newbie, advanced user, expert). It's written entirely -in Perl and Perl/Gtk. It uses resize_fat which is a perl rewrite of the work of -Andrew Clausen (libresize). +partitioning easier. It is graphical, simple and powerful. Different +skill levels are available (newbie, advanced user, expert). It's +written entirely in Perl and Perl/Gtk. It uses resize_fat which is a +perl rewrite of the work of Andrew Clausen (libresize). drakbackup: backup and restore your system. @@ -62,15 +62,15 @@ drakfont: import some fonts in the system. keyboarddrake: configures your keyboard (both console and X) -lspcidrake: displays your pci information, *and* the corresponding kernel -module. +lspcidrake: displays your pci information, *and* the corresponding +kernel module. mousedrake: configures and autodetects your mouse printerdrake: detects and configures your printer -draknet: LAN/Internet connection configuration. It handles ethernet, ISDN, DSL, -cable, modem. +draknet: LAN/Internet connection configuration. It handles ethernet, +ISDN, DSL, cable, modem. liveupdate: live update software. @@ -110,9 +110,8 @@ cp pam.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/net_monitor cp apps.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/net_monitor dirs1="usr/lib/libDrakX usr/share/libDrakX" -dirs2="$dirs1 usr/bin usr/sbin" (cd $RPM_BUILD_ROOT ; find $dirs2 ! -type d -printf "/%%p\n") > %{name}.list -(cd $RPM_BUILD_ROOT ; find $dirs1 -type d -printf "%%%%dir /%%p\n") >> %{name}.list +(cd $RPM_BUILD_ROOT ; find $dirs1 usr/bin usr/sbin -type d -printf "%%%%dir /%%p\n") >> %{name}.list perl -ni -e '/gtk|icons|pixmaps|XFdrake|bootlook|drakbackup|drakfont|logdrake|net_monitor/ ? print STDERR $_ : print' %{name}.list 2> %{name}-gtk.list perl -ni -e '/http/ ? print STDERR $_ : print' %{name}.list 2> %{name}-http.list @@ -132,8 +131,6 @@ EOF %find_lang libDrakX -# can't give 2 list of files, so add mo's to the list -cat libDrakX.lang >> %{name}.list %clean rm -rf $RPM_BUILD_ROOT @@ -170,7 +167,7 @@ done %clean_menus -%files newt -f %{name}.list +%files newt -f %{name}.list -f libDrakX.lang %defattr(-,root,root) %config(noreplace) /etc/security/fileshare.conf %doc diskdrake/diskdrake.html |