Lines 1-6
Link Here
|
1 |
Name: alterator |
1 |
Name: alterator |
2 |
Version: 5.3 |
2 |
Version: 5.4 |
3 |
Release: alt1.qa1 |
3 |
Release: alt1 |
4 |
|
4 |
|
5 |
Summary: ALT Linux configurator engine |
5 |
Summary: ALT Linux configurator engine |
6 |
License: GPLv2+ |
6 |
License: GPLv2+ |
Lines 97-103
export LTDL_LIBRARY_PATH=src/libguile-gettext:src/libguile-pipe:%_libdir/guile/%
Link Here
|
97 |
ln -s ../bin/alterator-cmdline %buildroot%_sbindir/ |
97 |
ln -s ../bin/alterator-cmdline %buildroot%_sbindir/ |
98 |
|
98 |
|
99 |
#create special directories |
99 |
#create special directories |
100 |
mkdir -p %buildroot%_runtimedir/alteratord |
|
|
101 |
mkdir -p %buildroot%_cachedir/%name |
100 |
mkdir -p %buildroot%_cachedir/%name |
102 |
mkdir -p %buildroot%_localstatedir/%name |
101 |
mkdir -p %buildroot%_localstatedir/%name |
103 |
mkdir -p %buildroot%_sysconfdir/%name |
102 |
mkdir -p %buildroot%_sysconfdir/%name |
Lines 115-121
cat >%buildroot%_rpmmacrosdir/%name<<EOF
Link Here
|
115 |
EOF |
114 |
EOF |
116 |
|
115 |
|
117 |
cat >%buildroot%_tmpfilesdir/%name.conf<<EOF |
116 |
cat >%buildroot%_tmpfilesdir/%name.conf<<EOF |
118 |
d /var/run/alteratord 0710 root _alteratord - |
117 |
d /run/alteratord 0710 root _alteratord - |
119 |
EOF |
118 |
EOF |
120 |
|
119 |
|
121 |
%pre |
120 |
%pre |
Lines 153-159
EOF
Link Here
|
153 |
%_sbindir/* |
152 |
%_sbindir/* |
154 |
%_initdir/* |
153 |
%_initdir/* |
155 |
%_mandir/man?/* |
154 |
%_mandir/man?/* |
156 |
%attr(710,root,_alteratord) %dir /var/run/alteratord |
|
|
157 |
|
155 |
|
158 |
%_unitdir/alteratord.service |
156 |
%_unitdir/alteratord.service |
159 |
%_unitdir/alteratord.socket |
157 |
%_unitdir/alteratord.socket |
160 |
|
158 |
|