| 14 |
BuildRoot: /tmp/GiNaC-%{PACKAGE_VERSION}-root |
BuildRoot: /tmp/GiNaC-%{PACKAGE_VERSION}-root |
| 15 |
Packager: Christian Bauer <Christian.Bauer@uni-mainz.de> |
Packager: Christian Bauer <Christian.Bauer@uni-mainz.de> |
| 16 |
URL: http://www.ginac.de/ |
URL: http://www.ginac.de/ |
| 17 |
|
Prereq: install-info |
| 18 |
Docdir: %{prefix}/doc |
Docdir: %{prefix}/doc |
| 19 |
|
|
| 20 |
%description |
%description |
| 33 |
|
|
| 34 |
%install |
%install |
| 35 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
| 36 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
make prefix=$RPM_BUILD_ROOT%{prefix} install-strip |
| 37 |
|
gzip -9n $RPM_BUILD_ROOT%{prefix}/info/* |
| 38 |
|
|
| 39 |
%clean |
%clean |
| 40 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
| 41 |
|
|
| 42 |
%post -p /sbin/ldconfig |
%post -p /sbin/ldconfig |
| 43 |
|
install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
| 44 |
|
|
| 45 |
%postun -p /sbin/ldconfig |
%postun -p /sbin/ldconfig |
| 46 |
|
|
| 47 |
|
%preun |
| 48 |
|
install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
| 49 |
|
|
| 50 |
%files |
%files |
| 51 |
%defattr(-, root, root) |
%defattr(-, root, root) |
| 52 |
%doc AUTHORS COPYING ChangeLog NEWS README |
%doc AUTHORS COPYING ChangeLog NEWS README |
| 53 |
%{prefix}/lib/lib*.so |
%{prefix}/lib/lib*.so* |
| 54 |
%{prefix}/lib/*a |
%{prefix}/lib/*a |
| 55 |
%{prefix}/include/* |
%{prefix}/include/* |
| 56 |
|
%{prefix}/info/* |
| 57 |
%{prefix}/man/man1/* |
%{prefix}/man/man1/* |
| 58 |
%{prefix}/share/doc/GiNaC/* |
%{prefix}/share/doc/GiNaC/* |
| 59 |
%{prefix}/bin/* |
%{prefix}/bin/* |