1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
Summary: PLD Linux Distribution configuration tool
Summary(pl): Narzędzie do konfiguracji Dystrybucji Linuksa PLD
Name: pldconf
Version: 0.3.4
Release: 1
License: GPL
Group: Applications/System
Source0: http://www.inf.sgsp.edu.pl/pub/PROGRAMY/PLD/RPM/%{name}_%{version}.tgz
# Source0-md5: 9aa82069cffa4b4a4bcbd830619628d6
URL: http://www.inf.sgsp.edu.pl/pub/PROGRAMY/PLD/
BuildRequires: sed
Requires: awk
Requires: bash
Requires: dml
Requires: pciutils
Requires: sed
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 one configure their graphic environment, network, startup manager
and others.
%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. Pldconf pozwala między innymi na konfigurację środowiska
graficznego, sieci, 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 ispconnect $RPM_BUILD_ROOT%{_bindir}
cp -r POMOC NET SYSINFO X BOOT DEVICE win.pl {autorzy,inne,poldek,ustawienia,menu_user,install_pld}.sh $RPM_BUILD_ROOT%{_pcdatadir}
# ???? It CAN'T be done!!
#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/
%{_pcdatadir}/NET/NET_FILES/ppplicznik.conf
%{_pcdatadir}/NET/NET_FILES/lista_kart
%dir %{_pcdatadir}/DEVICE
%attr(755,root,root) %{_pcdatadir}/DEVICE/*.sh
%dir %{_pcdatadir}/DEVICE/ALSA/
%attr(755,root,root) %{_pcdatadir}/DEVICE/ALSA/*.sh
%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/qcad_blue.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 %{_pcdatadir}/X/KILLER_DESKTOP/xfce4
%dir %{_pcdatadir}/X/KILLER_DESKTOP/xfce4/settings
%{_pcdatadir}/X/KILLER_DESKTOP/xfce4/xfce4rc
%{_pcdatadir}/X/KILLER_DESKTOP/xfce4/settings/*
%dir %{_sysconfdir}/%{name}
%{_sysconfdir}/%{name}/*
#%{_sysconfdir}/dml.conf
|