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-2.2.3.tar.gz
/armadillo-3.2.4.tar.gz
/armadillo-3.4.4.tar.gz

View File

@ -1,5 +1,5 @@
Name: armadillo
Version: 3.2.4
Version: 3.4.4
Release: 1%{?dist}
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
@ -64,13 +64,11 @@ done
%install
rm -rf $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 -rf examples/example1_win32
rm -rf examples/example2_win32
rm -rf examples/lib_win32
cp -r LICENSE.txt licenses README.txt index.html examples docs $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
%clean
rm -rf $RPM_BUILD_ROOT
@ -84,22 +82,23 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%dir %{_docdir}/%{name}-%{version}/
%doc %{_docdir}/%{name}-%{version}/LICENSE.txt
%doc %{_docdir}/%{name}-%{version}/licenses/
%doc LICENSE.txt
%doc licenses
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/armadillo
%{_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/
%doc README.txt index.html docs.html
%doc examples armadillo_icon.png armadillo_nicta_2010.pdf
%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
- Update to version 3.2.4
@ -235,4 +234,3 @@ rm -rf $RPM_BUILD_ROOT
* Thu Jan 22 2009 Conrad Sanderson
- Initial spec file prepared

View File

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