version 1.1, 2000/03/10 10:25:22 |
version 1.5, 2000/03/16 10:07:04 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM/misc/packages/Linux/RPM/openxm-shared.spec.in,v 1.4 2000/03/11 06:22:34 takayama Exp $ |
# openxm-shared.spec.in |
# openxm-shared.spec.in |
# |
# |
%define ver 1.1.2 |
%define ver 1.1.2 |
|
|
%install |
%install |
/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
/bin/rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
make install-shared-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
make install-shared-files PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
make install-man-pages-for-rpm PREFIX=$RPM_BUILD_ROOT%{prefix} |
|
|
%clean |
%clean |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
rm -rf $RPM_BUILD_ROOT%{prefix}/OpenXM |
Line 58 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
Line 59 rm -rf $RPM_BUILD_ROOT%{prefix}/bin/oxgp |
|
%{prefix}/OpenXM/lib/asir/* |
%{prefix}/OpenXM/lib/asir/* |
%{prefix}/OpenXM/man/* |
%{prefix}/OpenXM/man/* |
%{prefix}/OpenXM/include/* |
%{prefix}/OpenXM/include/* |
%{prefix}/OpenXM/rc/* |
|
%{prefix}/OpenXM/Copyright/* |
%{prefix}/OpenXM/Copyright/* |
|
%{prefix}/man/man1/openxm.1 |
|
%{prefix}/man/man1/sm1.1 |
%doc %{prefix}/OpenXM/doc/* |
%doc %{prefix}/OpenXM/doc/* |
## %config %{prefix}/OpenXM/lib/asir/asir_key |
## %config %{prefix}/OpenXM/lib/asir/asir_key |
|
|
|
%post |
|
if [ -f /var/tmp/asir_key.save ] ; then |
|
cp -f /var/tmp/asir_key.save %{prefix}/OpenXM/lib/asir/asir_key ; |
|
fi |
|
|
|
%preun |
|
if [ -f %{prefix}/OpenXM/lib/asir/asir_key ] ; then |
|
cp -f %{prefix}/OpenXM/lib/asir/asir_key /var/tmp/asir_key.save ; |
|
fi |
|
|
|
|