[votca-tools] Update to 1.2.1.
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu Aug 25 18:58:59 UTC 2011
commit e4a77b04011ccf0c5cab5cb2044096023fca7d31
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date: Thu Aug 25 21:58:45 2011 +0300
Update to 1.2.1.
sources | 2 +-
votca-tools.spec | 17 ++++++++++++-----
2 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/sources b/sources
index de57fc0..97b3d51 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e890d80450727aeb2f0f078bec54f6df votca-tools-1.1_pristine.tar.gz
+299abc18344cdcbd9b2949e0aa5a3e82 votca-tools-1.2.1_pristine.tar.gz
diff --git a/votca-tools.spec b/votca-tools.spec
index 07c2f1b..0e16f17 100644
--- a/votca-tools.spec
+++ b/votca-tools.spec
@@ -1,6 +1,6 @@
Name: votca-tools
-Version: 1.1
-Release: 3%{?dist}
+Version: 1.2.1
+Release: 1%{?dist}
Summary: VOTCA tools library
Group: Applications/Engineering
License: ASL 2.0
@@ -8,6 +8,7 @@ URL: http://www.votca.org
Source0: http://votca.googlecode.com/files/%{name}-%{version}_pristine.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: cmake
BuildRequires: expat-devel
BuildRequires: fftw-devel
BuildRequires: gsl-devel
@@ -43,12 +44,14 @@ This package contains development headers and libraries for votca-tools.
%setup -q
%build
-%configure --disable-static --disable-la-files --disable-rc-files --with-boost-libdir=%{_libdir}
+mkdir %{_target_platform}
+cd %{_target_platform}
+%{cmake} .. -DLIB=%{_lib} -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-make install DESTDIR=%{buildroot} INSTALL="install -p"
+make -C %{_target_platform} install DESTDIR=%{buildroot} INSTALL="install -p"
%clean
rm -rf %{buildroot}
@@ -58,7 +61,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc CHANGELOG LICENSE NOTICE
+%doc LICENSE NOTICE
+%{_bindir}/VOTCARC.*
%{_libdir}/libvotca_tools.so.*
%{_mandir}/man7/votca-tools.7*
@@ -69,6 +73,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libvotca_tools.pc
%changelog
+* Thu Aug 25 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.2.1-1
+- Update to 1.2.1.
+
* Fri Jul 22 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.1-3
- Bump spec due to new boost.
More information about the scm-commits
mailing list