Adding Requires and call to ldconfig in post stage.

This commit is contained in:
Jean-Paul Chaput 2010-05-17 16:20:07 +00:00
parent 0136f845bc
commit 8bac5355da
1 changed files with 22 additions and 15 deletions

View File

@ -1,21 +1,24 @@
%define coriolisVersion 1.0
%define coriolisTop @coriolisTop@
%define svntag @svntag@
%define coriolisVersion 1.0
%define coriolisTop @coriolisTop@
%define svntag @svntag@
%define with_binarytar %{?_with_binarytar:1}%{!?_with_binarytar:0}
%define with_binarytar %{?_with_binarytar:1}%{!?_with_binarytar:0}
Name: coriolis2
Summary: Coriolis 2 VLSI CAD Sytem
Version: %{coriolisVersion}.%{svntag}
Release: 1%{dist}
License: LGPL/GPL
Group: Applications/Engineering
Source: %{name}-%{version}.tar.bz2
URL: http://www-asim.lip6.fr/
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
BuildRoot: %{_tmppath}/root-%{name}
Name: coriolis2
Summary: Coriolis 2 VLSI CAD Sytem
Version: %{coriolisVersion}.%{svntag}
Release: 1%{dist}
License: LGPL/GPL
Group: Applications/Engineering
Source: %{name}-%{version}.tar.bz2
URL: http://www-asim.lip6.fr/
Packager: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Require(post): ldconfig
Require: boost >= 1.33.1
BuildRequire: boost-devel >= 1.33.1
BuildRoot: %{_tmppath}/root-%{name}
%description
@ -82,6 +85,10 @@ EOF
if [ -d %{buildroot} ]; then rm -r %{buildroot}; fi
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%dir %{coriolisTop}/share/etc