Compare commits

...
Sign in to create a new pull request.

19 commits

Author SHA1 Message Date
Miro Hrončok
93a1813803 Orphaned for 6+ weeks 2020-04-10 12:24:19 +02:00
Fedora Release Engineering
c701c77599 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:28:42 +00:00
Fedora Release Engineering
557afaa9dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:17:02 +00:00
Fedora Release Engineering
0141a09113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:32:17 +00:00
b7b328ff36 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:54 +01:00
bc43bdd601
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:18 +01:00
Fedora Release Engineering
9d822457c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:43:02 +00:00
Jason Tibbitts
f49e628334 Remove needless use of %defattr 2018-07-10 01:36:44 -05:00
e24182afe4
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:58:09 +01:00
a1c4a2e725 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:47:59 +01:00
Fedora Release Engineering
47e9cbef64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:45:11 +00:00
Fedora Release Engineering
d7524f2dde - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:11:12 +00:00
Fedora Release Engineering
1b7b1079c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:29:28 +00:00
Kalev Lember
fcea5af95e Rebuilt for libgfortran soname bump 2017-02-05 23:00:43 +01:00
Fedora Release Engineering
dd396c241e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:53:53 +00:00
Dennis Gilmore
8cb8867340 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:15:16 +00:00
45fad4fe13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:17:00 +00:00
Dennis Gilmore
e977d82423 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:12:24 -05:00
Susi Lehtola
eeecd06c6e Fix ATLAS conditional. 2013-10-15 15:17:58 +03:00
5 changed files with 1 additions and 239 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
wannier90-1.2.tar.gz
/wannier90-2.0.0.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
c5e120daa414ab6546bdd549675a23e8 wannier90-2.0.0.tar.gz

View file

@ -1,44 +0,0 @@
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

View file

@ -1,192 +0,0 @@
Name: wannier90
Version: 2.0.0
Release: 1%{?dist}
Summary: Maximally-localised Wannier functions
Group: Applications/Engineering
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
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
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
Group: Development/Languages
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 -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} >= 20 || 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}/
%clean
rm -rf %{buildroot}
%check
# Set path so that wannier finds its library
export LD_LIBRARY_PATH=`pwd`
make test
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc CHANGE.log LICENCE README utility/ examples/
%{_bindir}/wannier90.x
%{_bindir}/postw90.x
%{_libdir}/libwannier.so
%files devel
%defattr(-,root,root,-)
%{_fmoddir}/w90_*.mod
%files doc
%defattr(-,root,root,-)
%doc doc/tutorial.pdf doc/user_guide.pdf
%changelog
* 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.