public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fedora Release Engineering <releng@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/wannier90] f43: Unretirement request: https://forge.fedoraproject.org/releng/tickets/issues/13553
Date: Thu, 15 Oct 2026 16:31:40 GMT [thread overview]
Message-ID: <179208190097.1.10638594858805055112.rpms-wannier90-05ab531b1fc8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/wannier90
Branch : f43
Commit : 05ab531b1fc8f0a8b8740f33f4884d52d926ad91
Author : Fedora Release Engineering <releng@fedoraproject.org>
Date : 2026-10-15T15:57:11+00:00
Stats : +264/-1 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/wannier90/c/05ab531b1fc8f0a8b8740f33f4884d52d926ad91?branch=f43
Log:
Unretirement request: https://forge.fedoraproject.org/releng/tickets/issues/13553
Revert "Orphaned for 6+ weeks"
This reverts commit 93a1813803522e2a7de368d9af7444630f7162a4.
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e343e2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+wannier90-1.2.tar.gz
+/wannier90-2.0.0.tar.gz
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/sources b/sources
new file mode 100644
index 0000000..96647eb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c5e120daa414ab6546bdd549675a23e8 wannier90-2.0.0.tar.gz
diff --git a/wannier90-2.0.0-sharedlib.patch b/wannier90-2.0.0-sharedlib.patch
new file mode 100644
index 0000000..d83a32b
--- /dev/null
+++ b/wannier90-2.0.0-sharedlib.patch
@@ -0,0 +1,44 @@
+diff -up wannier90-2.0.0/src/Makefile.2.sharedlib wannier90-2.0.0/src/Makefile.2
+--- wannier90-2.0.0/src/Makefile.2.sharedlib 2013-09-27 12:57:19.000000000 +0300
++++ wannier90-2.0.0/src/Makefile.2 2013-10-15 12:33:52.732150271 +0300
+@@ -8,9 +8,9 @@ OBJS = constants.o io.o utility.o para
+
+ OBJS2 = wannier_lib.o
+
+-OBJS_POST = parameters.o kmesh.o io.o comms.o utility.o get_oper.o constants.o postw90_common.o wan_ham.o spin.o dos.o berry.o kpath.o kslice.o boltzwann.o geninterp.o
++OBJS_POST = comms.o get_oper.o postw90_common.o wan_ham.o spin.o dos.o berry.o kpath.o kslice.o boltzwann.o geninterp.o
+
+-LIBRARY = ../../libwannier.a
++LIBRARY = ../../libwannier.so
+
+ POSTDIR = ../postw90/
+
+@@ -39,15 +39,15 @@ serialobjs: $(OBJS)
+ ../../w90chk2chk.x: $(OBJS) ../w90chk2chk.F90
+ $(COMPILER) ../w90chk2chk.F90 $(LDOPTS) $(OBJS) $(LIBS) -o ../../w90chk2chk.x
+
+-../../wannier90.x: $(OBJS) ../wannier_prog.F90
+- $(COMPILER) ../wannier_prog.F90 $(LDOPTS) $(OBJS) $(LIBS) -o ../../wannier90.x
++../../wannier90.x: $(OBJS) ../wannier_prog.F90 $(LIBRARY)
++ $(COMPILER) ../wannier_prog.F90 $(LDOPTS) -L../.. -lwannier -o ../../wannier90.x
+
+ post: POSTOPTS = $(TEMP1)
+ post: COMPILER = $(TEMP2)
+ post: mpi_test ../../postw90.x
+
+-../../postw90.x: $(OBJS_POST) $(POSTDIR)postw90.F90
+- $(COMPILER) $(POSTDIR)postw90.F90 $(POSTOPTS) $(LDOPTS) $(OBJS_POST) $(LIBS) -o ../../postw90.x
++../../postw90.x: $(OBJS_POST) $(POSTDIR)postw90.F90 $(LIBRARY)
++ $(COMPILER) $(POSTDIR)postw90.F90 $(POSTOPTS) $(LDOPTS) $(OBJS_POST) -L../.. -lwannier $(LIBS) -o ../../postw90.x
+
+ mpi_test :
+ ifeq ($(COMMS),mpi)
+@@ -72,7 +72,7 @@ endif
+ libs: $(LIBRARY)
+
+ $(LIBRARY): $(OBJS) $(OBJS2)
+- $(AR) $(ARFLAGS) $(LIBRARY) $(OBJS2) $(OBJS)
++ $(F90) $(FCOPTS) -shared -o $(LIBRARY) $(OBJS2) $(OBJS) $(LIBS)
+
+ clean:
+ rm -f *.o *.mod *.MOD *.obj
diff --git a/wannier90.spec b/wannier90.spec
new file mode 100644
index 0000000..1626a0e
--- /dev/null
+++ b/wannier90.spec
@@ -0,0 +1,217 @@
+Name: wannier90
+Version: 2.0.0
+Release: 13%{?dist}
+Summary: Maximally-localised Wannier functions
+License: GPLv2+
+URL: http://www.wannier.org/
+Source0: http://www.wannier.org/code/%{name}-%{version}.tar.gz
+# Patch to enable building of shared library
+Patch0: wannier90-2.0.0-sharedlib.patch
+
+BuildRequires: gcc-gfortran
+# For test phase
+BuildRequires: perl(Cwd)
+
+# Linear algebra: use ATLAS
+BuildRequires: atlas-devel
+
+# For documentation
+BuildRequires: tex(latex)
+BuildRequires: ghostscript
+%if 0%{?fedora} > 17
+BuildRequires: tex(a4wide.sty)
+BuildRequires: tex(multirow.sty)
+BuildRequires: tex(groff.enc)
+%endif
+
+%description
+Wannier90 is a program for calculating maximally-localised Wannier functions
+(MLWF) from a set of Bloch energy bands that may or may not be attached to or
+mixed with other bands. The formalism works by minimising the total spread of
+the MLWF in real space. This is done in the space of unitary matrices that
+describe rotations of the Bloch bands at each k-point. As a result, wannier90
+is independent of the basis set used in the underlying calculation to obtain
+the Bloch states. Therefore, it may be interfaced straightforwardly to any
+electronic structure code. The locality of MLWF can be exploited to compute
+band-structure, density of states and Fermi surfaces at modest computational
+cost.
+
+Furthermore, wannier90 is able to output MLWF for visualisation and other
+post-processing purposes. Wannier functions are already used in a wide variety
+of applications. These include analysis of chemical bonding in real space;
+calculation of dielectric properties via the modern theory of polarisation;
+and as an accurate and minimal basis set in the construction of model
+Hamiltonians for large-scale systems, in linear-scaling quantum Monte Carlo
+calculations, and for efficient computation of material properties, such as
+the anomalous Hall coefficient.
+
+%package devel
+Summary: Development modules for Wannier90
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains Fortran modules for Wannier90.
+
+%package doc
+Summary: Documentation for Wannier90
+%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 -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
+echo "F90 = gfortran" > make.sys
+echo "FCOPTS = %{optflags} -fPIC" >> make.sys
+echo "LDOPTS = %{optflags} -fPIC" >> make.sys
+
+# Use ATLAS
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
+echo "LIBS = -L%{_libdir}/atlas -lsatlas" >> make.sys
+%else
+echo "LIBS = -L%{_libdir}/atlas -llapack -lf77blas -latlas" >> make.sys
+%endif
+# Use reference LAPACK
+#echo "LIBS = -lblas -llapack" >> make.sys
+
+make -C src %{?_smp_mflags}
+
+# Build documentation
+make -C doc/user_guide
+make -C doc/tutorial
+
+
+%install
+rm -rf %{buildroot}
+# Binary & library
+install -D -p -m 755 wannier90.x %{buildroot}%{_bindir}/wannier90.x
+install -D -p -m 755 postw90.x %{buildroot}%{_bindir}/postw90.x
+# Must install as executable so that find-debuginfo catches this
+install -D -p -m 755 libwannier.so %{buildroot}%{_libdir}/libwannier.so
+
+# Fortran module files
+mkdir -p %{buildroot}%{_fmoddir}
+install -p -m 644 src/obj/*.mod %{buildroot}%{_fmoddir}/
+
+%check
+# Set path so that wannier finds its library
+export LD_LIBRARY_PATH=`pwd`
+make test
+
+%ldconfig_scriptlets
+
+
+%files
+%doc CHANGE.log LICENCE README utility/ examples/
+%{_bindir}/wannier90.x
+%{_bindir}/postw90.x
+%{_libdir}/libwannier.so
+
+%files devel
+%{_fmoddir}/w90_*.mod
+
+%files doc
+%doc doc/tutorial.pdf doc/user_guide.pdf
+
+%changelog
+* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sun Feb 05 2017 Kalev Lember <klember@redhat.com> - 2.0.0-6
+- Rebuilt for libgfortran soname bump
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Tue Oct 15 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.0.0-1
+- Update to 2.0.0.
+
+* Mon Sep 23 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.2-9
+- Rebuild against new ATLAS.
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Mar 06 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.2-7
+- Fix FTBFS in rawhide.
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Feb 16 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.2-2
+- Link library correctly against ATLAS.
+
+* 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.
+- Use ATLAS instead of reference BLAS & LAPACK.
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sat May 16 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-4
+- Fix EPEL build by adding explicit BR: blas-devel.
+
+* Fri May 15 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-3
+- Link binary against shared library.
+- Put library back into main package.
+
+* Tue Apr 21 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-2
+- Break libs into own package.
+
+* Tue Apr 21 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-1
+- First release.
reply other threads:[~2026-10-15 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179208190097.1.10638594858805055112.rpms-wannier90-05ab531b1fc8@fedoraproject.org \
--to=releng@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox