Move headers to default location.

epel9
Simone Caronni 12 years ago
parent 519166c45c
commit ec40d2fd5a

@ -1,6 +1,6 @@
Name: libtommath
Version: 0.42.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A portable number theoretic multiple-precision integer library
License: Public Domain
URL: http://www.libtom.org/?page=features&newsitems=5&whatfile=ltm
@ -64,7 +64,7 @@ make %{?_smp_mflags} -f makefile poster manual docs
# environment variables.
export INSTALL_USER=$(id -un)
export INSTALL_GROUP=$(id -gn)
make install INCPATH=%{_includedir}/tommath DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared
make install DESTDIR=%{buildroot} LIBPATH=%{_libdir} -f makefile.shared
find %{buildroot} -name '*.h' -exec chmod 644 {} \;
find %{buildroot} -name '*.c' -exec chmod 644 {} \;
chmod 644 LICENSE
@ -81,13 +81,16 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/*.so.*
%files devel
%{_includedir}/tommath
%{_includedir}/*.h
%{_libdir}/*.so
%files doc
%doc bn.pdf poster.pdf tommath.pdf
%changelog
* Sun Sep 29 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-3
- Move headers to default location.
* Thu Aug 08 2013 Simone Caronni <negativo17@gmail.com> - 0.42.0-2
- Fix changelog entries.
- Remove executable bits from LICENSE file and source files.

Loading…
Cancel
Save