Update to latest stable release

- Clean the spec files (documentation has a special treatment with rpm)
This commit is contained in:
José Matos 2012-12-03 16:24:49 +00:00
parent e56099bf13
commit 68e9627232
3 changed files with 12 additions and 13 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ armadillo-0.9.52.tar.gz
/armadillo-1.2.0.tar.gz /armadillo-1.2.0.tar.gz
/armadillo-2.2.3.tar.gz /armadillo-2.2.3.tar.gz
/armadillo-3.2.4.tar.gz /armadillo-3.2.4.tar.gz
/armadillo-3.4.4.tar.gz

View File

@ -1,5 +1,5 @@
Name: armadillo Name: armadillo
Version: 3.2.4 Version: 3.4.4
Release: 1%{?dist} Release: 1%{?dist}
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
@ -64,13 +64,11 @@ done
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
rm -f examples/Makefile.cmake rm -f examples/Makefile.cmake
rm -rf examples/example1_win32 rm -rf examples/example1_win32
rm -rf examples/example2_win32 rm -rf examples/example2_win32
rm -rf examples/lib_win32 rm -rf examples/lib_win32
cp -r LICENSE.txt licenses README.txt index.html examples docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -84,22 +82,23 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_docdir}/%{name}-%{version}/ %doc LICENSE.txt
%doc %{_docdir}/%{name}-%{version}/LICENSE.txt %doc licenses
%doc %{_docdir}/%{name}-%{version}/licenses/
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/armadillo %{_includedir}/armadillo
%{_includedir}/armadillo_bits/ %{_includedir}/armadillo_bits/
%doc %{_docdir}/%{name}-%{version}/README.txt
%doc %{_docdir}/%{name}-%{version}/index.html
%doc %{_docdir}/%{name}-%{version}/examples/
%doc %{_docdir}/%{name}-%{version}/docs/
%{_datadir}/Armadillo/ %{_datadir}/Armadillo/
%doc README.txt index.html docs.html
%doc examples armadillo_icon.png armadillo_nicta_2010.pdf
%changelog %changelog
* Mon Dec 3 2012 José Matos <jamatos@fedoraproject.org> - 3.4.4-1
- Update to latest stable release
- Clean the spec files (documentation has a special treatment with rpm)
* Wed Jul 25 2012 José Matos <jamatos@fedoraproject.org> - 3.2.4-1 * Wed Jul 25 2012 José Matos <jamatos@fedoraproject.org> - 3.2.4-1
- Update to version 3.2.4 - Update to version 3.2.4
@ -235,4 +234,3 @@ rm -rf $RPM_BUILD_ROOT
* Thu Jan 22 2009 Conrad Sanderson * Thu Jan 22 2009 Conrad Sanderson
- Initial spec file prepared - Initial spec file prepared

View File

@ -1 +1 @@
2f96ab364b63cded23dfa076038392bd armadillo-3.2.4.tar.gz 93a45131f8e5ee6393d962f33fdc92a6 armadillo-3.4.4.tar.gz