View | Details | Raw Unified | Return to bug 5095
Collapse All | Expand All

(-)libshhopt.spec.orig (-5 / +8 lines)
Lines 1-5 Link Here
1
Version: 1.1.7
1
Version: 1.1.7
2
Release: alt1
2
Release: alt2
3
%define realname shhopt
3
%define realname shhopt
4
Name: lib%realname
4
Name: lib%realname
5
%define srcname %realname-%version
5
%define srcname %realname-%version
Lines 61-69 Link Here
61
make SHARED=1 OPTIM="$RPM_OPT_FLAGS" CCSHRD="%optflags_shared"
61
make SHARED=1 OPTIM="$RPM_OPT_FLAGS" CCSHRD="%optflags_shared"
62
62
63
%install
63
%install
64
mkdir -p $RPM_BUILD_ROOT{/lib,%_libdir,%_includedir}
64
mkdir -p $RPM_BUILD_ROOT{/%_lib,%_libdir,%_includedir}
65
ln -s ../../lib/%name.so.%version $RPM_BUILD_ROOT%_libdir/%name.so
65
ln -s ../../%_lib/%name.so.%version $RPM_BUILD_ROOT%_libdir/%name.so
66
install -p -m755 *.so.* $RPM_BUILD_ROOT/lib
66
install -p -m755 *.so.* $RPM_BUILD_ROOT/%_lib
67
install -p -m644 *.a $RPM_BUILD_ROOT%_libdir
67
install -p -m644 *.a $RPM_BUILD_ROOT%_libdir
68
install -p -m644 *.h $RPM_BUILD_ROOT%_includedir
68
install -p -m644 *.h $RPM_BUILD_ROOT%_includedir
69
69
Lines 71-77 Link Here
71
%postun -p /sbin/ldconfig
71
%postun -p /sbin/ldconfig
72
72
73
%files
73
%files
74
/lib/*
74
/%_lib/*
75
%doc ChangeLog CREDITS README %srcname.lsm example.c
75
%doc ChangeLog CREDITS README %srcname.lsm example.c
76
76
77
%files devel
77
%files devel
Lines 82-87 Link Here
82
%_libdir/*.a
82
%_libdir/*.a
83
83
84
%changelog
84
%changelog
85
* Mon Aug 30 2004 Anton D. Kachalov <mouse@altlinux.org> 1.1.7-alt2
86
- Multilib support
87
85
* Wed Oct 02 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1.7-alt1
88
* Wed Oct 02 2002 Stanislav Ievlev <inger@altlinux.ru> 1.1.7-alt1
86
- 1.1.7
89
- 1.1.7
87
- fixed url
90
- fixed url

Return to bug 5095