public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wannier90] f43: Update to 1.2.
@ 2026-10-15 16:31 Jussi Lehtola
  0 siblings, 0 replies; only message in thread
From: Jussi Lehtola @ 2026-10-15 16:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/wannier90
Branch : f43
Commit : f390911ef63cc9a8f2be65e589b9f3714a089a49
Author : Jussi Lehtola <jussilehtola@fedoraproject.org>
Date   : 2010-01-27T12:04:27+00:00
Stats  : +36/-11 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/wannier90/c/f390911ef63cc9a8f2be65e589b9f3714a089a49?branch=f43

Log:
Update to 1.2.

---
diff --git a/.cvsignore b/.cvsignore
index c3b3b92..2850d42 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-wannier90-1.1.tar.gz
+wannier90-1.2.tar.gz

diff --git a/sources b/sources
index a9265c1..6777fa3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2a547276e25d2345480ec3717c6c2f3f  wannier90-1.1.tar.gz
+764165971f0ee35ff16041320c2cbc29  wannier90-1.2.tar.gz

diff --git a/wannier90.spec b/wannier90.spec
index 99288ca..8e9e78d 100644
--- a/wannier90.spec
+++ b/wannier90.spec
@@ -1,6 +1,6 @@
 Name:		wannier90
-Version:	1.1
-Release:	6%{?dist}
+Version:	1.2
+Release:	1%{?dist}
 Summary:	Maximally-localised Wannier functions 
 Group:		Applications/Engineering
 License:	GPLv2+
@@ -17,10 +17,8 @@ BuildRequires:	perl(Cwd)
 # Linear algebra: use ATLAS
 BuildRequires:	atlas-devel
 
-# Reference LAPACK
-#BuildRequires:	lapack-devel
-# On Fedora this is pulled in by lapack-devel, but EPEL needs this
-#BuildRequires:	blas-devel
+# For documentation
+BuildRequires:	tex(latex)
 
 %description
 Wannier90 is a program for calculating maximally-localised Wannier functions
@@ -51,12 +49,28 @@ Requires:	%{name} = %{version}-%{release}
 %description devel
 This package contains Fortran modules for Wannier90.
 
+%package doc
+Summary:	Documentation for Wannier90
+Group:		Documentation
+%if 0%{?fedora} > 10 || 0%{?rhel} > 5
+BuildArch:	noarch
+%endif
+
+%description doc
+This package contains the tutorial and user's guide for Wannier90.
+
+
 %prep
 %setup -q
-%patch0 -p1
-
+%patch0 -p1 -b .sharedlib
 # Remove executable flag from utility that is included in doc
 chmod 644 utility/kmesh.pl
+# Convert documentation
+for file in CHANGE.log; do
+ sed "s|\r||g" $file > $file.new && \
+ touch -r $file $file.new && \
+ mv $file.new $file
+done
 
 %build
 # Generate make.sys
@@ -71,6 +85,11 @@ echo "LIBS = -L%{_libdir}/atlas -lf77blas -latlas -llapack" >> make.sys
 
 make -C src %{?_smp_mflags} prog
 
+# Build documentation
+make -C doc/user_guide
+make -C doc/tutorial
+
+
 %install
 rm -rf %{buildroot}
 # Binary & library
@@ -96,7 +115,7 @@ make test
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGE.log LICENCE README utility/ doc/*.pdf examples/ 
+%doc CHANGE.log LICENCE README utility/ examples/ 
 %{_bindir}/wannier90.x
 %{_libdir}/libwannier.so
 
@@ -104,8 +123,14 @@ make test
 %defattr(-,root,root,-)
 %{_fmoddir}/w90_*.mod
 
+%files doc
+%defattr(-,root,root,-)
+%doc doc/tutorial.pdf doc/user_guide.pdf
 
 %changelog
+* Wed Jan 27 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.2-1
+- Update to 1.2.
+
 * Wed Sep 16 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-6
 - Fix location of Fortran modules.
 - Fix check phase.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-15 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 16:31 [rpms/wannier90] f43: Update to 1.2 Jussi Lehtola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox