# $Revision: 1.23 $, $Date: 2003/07/26 21:22:51 $ Summary: PLD Linux Distribution configuration tool Summary(pl): Narzędzie do konfiguracji Dystrybucji Linuksa PLD Name: pldconf Version: 0.2.5 Release: 1 License: GPL Group: Applications/System Source0: http://www.inf.sgsp.edu.pl/pub/PROGRAMY/PLD/RPM/%{name}_%{version}.tgz # Source0-md5: cabfd4ed3ff5a6b002bbdff9898457e7 URL: http://www.inf.sgsp.edu.pl/pub/PROGRAMY/PLD/ BuildRequires: sed Requires: bash Requires: dml Requires: perl-modules Requires: %{_bindir}/perl BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _pcdatadir %{_datadir}/%{name} %description It's a friendly tool for first-time users, it asks only a few questions and uses an graphical user interface on an text terminal. It lets you configure your graphic environment, network and startup manager. %description -l pl Narzędzie jest przyjazne dla początkujących użytkowników, zadaje mało pytań i korzysta z graficznego interfejsu użytkownika na terminalu tekstowym. Pozwala między innymi na konfigurację środowiska graficznego, sieci i menadżera startu. %prep %setup -q -n %{name}_%{version} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/%{name},%{_pcdatadir}} find . | while read file do if [ -f $file ] then cat $file | \ sed 's@/etc@%{_sysconfdir}@' | \ sed 's@/usr/bin@%{_bindir}@' > tmp ; mv tmp $file fi done install pldconf $RPM_BUILD_ROOT%{_bindir} cp -r POMOC NET SYSINFO X BOOT autorzy.sh inne.sh poldek.sh win.pl printer.sh ustawienia.sh menu_user.sh $RPM_BUILD_ROOT%{_pcdatadir} install dml.conf $RPM_BUILD_ROOT%{_sysconfdir} echo "PLDCONF_VERSION=%{version}" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/ustawienia echo "PLDCONF_EDITOR=vim" >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/ustawienia %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* %dir %{_pcdatadir} %attr(755,root,root) %{_pcdatadir}/*.sh %attr(755,root,root) %{_pcdatadir}/*.pl %dir %{_pcdatadir}/BOOT %attr(755,root,root) %{_pcdatadir}/BOOT/*.sh %attr(755,root,root) %{_pcdatadir}/BOOT/*.pl %{_pcdatadir}/BOOT/*.c %{_pcdatadir}/BOOT/*.txt %dir %{_pcdatadir}/BOOT/MBRS %{_pcdatadir}/BOOT/MBRS/*.dd %dir %{_pcdatadir}/NET %attr(755,root,root) %{_pcdatadir}/NET/*.sh %attr(755,root,root) %{_pcdatadir}/NET/*.pl %dir %{_pcdatadir}/NET/NET_FILES/ %attr(755,root,root) %{_pcdatadir}/NET/NET_FILES/*.sh %{_pcdatadir}/NET/NET_FILES/chat %{_pcdatadir}/NET/NET_FILES/gui.part1 %{_pcdatadir}/NET/NET_FILES/gui.part2 %{_pcdatadir}/NET/NET_FILES/konfig %{_pcdatadir}/NET/NET_FILES/lista_kart %{_pcdatadir}/NET/NET_FILES/ppp-off %{_pcdatadir}/NET/NET_FILES/ppp-on %dir %{_pcdatadir}/POMOC %{_pcdatadir}/POMOC/README* %dir %{_pcdatadir}/SYSINFO %attr(755,root,root) %{_pcdatadir}/SYSINFO/*.sh %dir %{_pcdatadir}/X %attr(755,root,root) %{_pcdatadir}/X/*.sh %attr(755,root,root) %{_pcdatadir}/X/*.pl %dir %{_pcdatadir}/X/KILLER_DESKTOP %{_pcdatadir}/X/KILLER_DESKTOP/DirIcon %{_pcdatadir}/X/KILLER_DESKTOP/hacker_bg.png %{_pcdatadir}/X/KILLER_DESKTOP/ooo_red.png %{_pcdatadir}/X/KILLER_DESKTOP/pldconf_red.png %dir %{_pcdatadir}/X/KILLER_DESKTOP/Choices %{_pcdatadir}/X/KILLER_DESKTOP/Choices/README %dir %{_pcdatadir}/X/KILLER_DESKTOP/Choices/MIME-icons %{_pcdatadir}/X/KILLER_DESKTOP/Choices/MIME-icons/* %dir %{_pcdatadir}/X/KILLER_DESKTOP/Choices/MIME-types %attr(755,root,root) %{_pcdatadir}/X/KILLER_DESKTOP/Choices/MIME-types/* %dir %{_pcdatadir}/X/KILLER_DESKTOP/Choices/ROX-Filer/ %{_pcdatadir}/X/KILLER_DESKTOP/Choices/ROX-Filer/* %dir %{_pcdatadir}/X/KILLER_DESKTOP/Defaults %{_pcdatadir}/X/KILLER_DESKTOP/Defaults/* %dir %{_sysconfdir}/%{name} %{_sysconfdir}/%{name}/* %{_sysconfdir}/dml.conf %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team All persons listed below can be reached at @pld-linux.org $Log: pldconf.spec,v $ Revision 1.23 2003/07/26 21:22:51 mimooh - updated to 0.2.5; Revision 1.21 2003/07/26 20:09:06 undefine - small simplifications... Revision 1.20 2003/06/29 19:46:46 mimooh - updated to 0.2.4 2; Revision 1.19 2003/06/20 12:37:24 mimooh - updated to 0.2.4 Revision 1.18 2003/06/17 18:09:40 mimooh - updated for printer.sh Revision 1.17 2003/06/17 14:30:36 mimooh - fixed permisions to /X/KILLER_DESKTOP/Choices/MIME-types/* Revision 1.16 2003/06/17 12:00:59 mimooh -Added ooo_red.png file; Revision 1.15 2003/06/05 14:00:32 deejay1 - up to 0.2.3 Revision 1.14 2003/05/28 13:01:18 malekith - massive attack: source-md5 Revision 1.13 2003/05/25 06:25:33 misi3k - massive attack s/pld.org.pl/pld-linux.org/ Revision 1.12 2003/05/13 10:21:01 djrzulf - updated to 0.2.1, Revision 1.11 2003/05/13 07:42:35 djrzulf - added missed file dml.conf, - Release: 2 Revision 1.10 2003/05/12 20:56:36 djrzulf - finished, Revision 1.9 2003/05/12 19:56:31 djrzulf - typo Revision 1.8 2003/05/12 19:54:48 djrzulf - cosmetics && cleanups, Revision 1.7 2003/05/12 18:53:26 djrzulf - started update do 0.2.0 Revision 1.6 2003/05/04 15:46:12 radek - do not BR: perl Revision 1.5 2003/04/21 21:26:01 djrzulf - desc and summary update Revision 1.4 2003/04/10 21:28:27 blues - some cosmetics Revision 1.3 2003/04/10 21:20:18 djrzulf - BuildArch changed to noarch Revision 1.2 2003/04/10 21:14:04 djrzulf - fixed files Revision 1.1 2003/04/10 21:11:58 djrzulf - changed name from pld-conf to pldconf, Revision 1.7 2003/04/10 13:06:00 djrzulf - fixed permissions Revision 1.6 2003/04/08 22:16:03 malekith - reverted, stupid me - however install.sh script should be patched, not to check these stuff Revision 1.5 2003/04/08 21:58:38 malekith - neither of these BR's are used during build process, just sed, find and mv Revision 1.4 2003/04/08 21:17:51 djrzulf - added missed BRs Revision 1.3 2003/04/07 18:55:06 qboosh - added Group and missing dirs, fixed typos Revision 1.2 2003/04/07 15:43:11 ankry - cosmetics Revision 1.1 2003/04/07 14:44:42 ggodlewski - initial release