|
|
41f97b1 |
Name: mopac7
|
|
|
41f97b1 |
Summary: Semi-empirical quantum mechanics suite
|
|
|
41f97b1 |
Version: 1.15
|
|
|
3c9b05e |
Release: 30%{?dist}
|
|
|
41f97b1 |
License: Public Domain
|
|
|
41f97b1 |
URL: http://sourceforge.net/projects/mopac7/
|
|
|
7e70923 |
Source0: http://bioinformatics.org/ghemical/download/current/mopac7-%{version}.tar.gz
|
|
|
e6799ae |
BuildRequires: autoconf
|
|
|
e6799ae |
BuildRequires: automake
|
|
|
41f97b1 |
BuildRequires: gcc-gfortran
|
|
|
7e70923 |
BuildRequires: libtool
|
|
|
7e70923 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%description
|
|
|
41f97b1 |
MOPAC7 is a semi-empirical quantum-mechanics code written by James
|
|
|
e6799ae |
J. P. Stewart and co-workers. The purpose of this project is to
|
|
|
41f97b1 |
maintain MOPAC7 as a stand-alone program as well as a library that
|
|
|
41f97b1 |
provides the functionality of MOPAC7 to other programs.
|
|
|
41f97b1 |
|
|
|
7e70923 |
%package libs
|
|
|
7e70923 |
Summary: Dynamic libraries from %{name}
|
|
|
41f97b1 |
|
|
|
7e70923 |
%description libs
|
|
|
41f97b1 |
Dynamic libraries from %{name}.
|
|
|
41f97b1 |
|
|
|
7e70923 |
%package devel
|
|
|
7e70923 |
Summary: Development files for %{name}
|
|
|
7e70923 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
41f97b1 |
|
|
|
7e70923 |
%description devel
|
|
|
7e70923 |
This package contains libraries and header files for
|
|
|
7e70923 |
developing applications that use %{name}.
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%prep
|
|
|
41f97b1 |
%setup -q
|
|
|
41f97b1 |
perl -pi -e "s#-lg2c##g" libmopac7.pc.in
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%build
|
|
|
7e70923 |
autoreconf -fiv
|
|
|
41f97b1 |
%configure --disable-static
|
|
|
41f97b1 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
41f97b1 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
7e70923 |
%make_build
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%install
|
|
|
7e70923 |
%make_install
|
|
|
41f97b1 |
# make install does not actually install the main binary
|
|
|
41f97b1 |
# chrpath --delete fortran/.libs/%{name}
|
|
|
7e70923 |
install -pDm0755 fortran/.libs/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
41f97b1 |
# install a convenience fortran wrapper for the main binary
|
|
|
41f97b1 |
sed "s;./fortran;%{_bindir};" run_mopac7 > %{buildroot}%{_bindir}/run_mopac7
|
|
|
41f97b1 |
chmod 755 %{buildroot}%{_bindir}/run_mopac7
|
|
|
41f97b1 |
# kill off the .la files
|
|
|
7e70923 |
find %{buildroot}%{_libdir} -name *.la -delete -print
|
|
|
41f97b1 |
# kill off the makefiles in tests directory so we can use them as samples in %doc
|
|
|
7e70923 |
find tests -name 'Makefile*' -delete -print
|
|
|
41f97b1 |
|
|
|
25a825a |
%ldconfig_scriptlets libs
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%files
|
|
|
e6799ae |
%doc tests
|
|
|
41f97b1 |
%{_bindir}/mopac7
|
|
|
41f97b1 |
%{_bindir}/run_mopac7
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%files libs
|
|
|
e6799ae |
%license COPYING
|
|
|
41f97b1 |
%{_libdir}/libmopac7.so.*
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%files devel
|
|
|
7e70923 |
%doc AUTHORS ChangeLog NEWS README
|
|
|
41f97b1 |
%{_includedir}/mopac7/
|
|
|
41f97b1 |
%{_libdir}/libmopac7.so
|
|
|
41f97b1 |
%{_libdir}/pkgconfig/libmopac7.pc
|
|
|
41f97b1 |
|
|
|
41f97b1 |
%changelog
|
|
|
3c9b05e |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-30
|
|
|
3c9b05e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3c9b05e |
|
|
|
16b160e |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-29
|
|
|
16b160e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
16b160e |
|
|
|
2db013a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-28
|
|
|
2db013a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2db013a |
|
|
|
43a751d |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-27
|
|
|
43a751d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
43a751d |
|
|
|
409a162 |
* Wed Jan 31 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15-26
|
|
|
409a162 |
- F-28: rebuild for gfortran 8
|
|
|
409a162 |
|
|
|
60dacc3 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-25
|
|
|
60dacc3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
60dacc3 |
|
|
|
e5ad636 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-24
|
|
|
e5ad636 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e5ad636 |
|
|
|
eaf1b79 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-23
|
|
|
eaf1b79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
eaf1b79 |
|
|
|
f9e252c |
* Sun Jan 29 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15-22
|
|
|
f9e252c |
- F-26: rebuild againt gfortran 7
|
|
|
f9e252c |
|
|
|
c47c11e |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-21
|
|
|
c47c11e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c47c11e |
|
|
|
4f8aa9a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-20
|
|
|
4f8aa9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4f8aa9a |
|
|
|
108c262 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-19
|
|
|
108c262 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
108c262 |
|
|
|
7e70923 |
* Wed Jul 02 2014 Christopher Meng <rpm@cicku.me> - 1.15-18
|
|
|
7e70923 |
- NVR bump
|
|
|
7e70923 |
|
|
|
4225300 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-17
|
|
|
4225300 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4225300 |
|
|
|
e82ddd0 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-16
|
|
|
e82ddd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e82ddd0 |
|
|
Carl Byington |
642cb17 |
* Fri Mar 29 2013 Carl Byington <carl@five-ten-sg.com> 1.15-15
|
|
Carl Byington |
642cb17 |
- add autoreconf for aarch64
|
|
Carl Byington |
642cb17 |
|
|
|
8401d02 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-14
|
|
|
8401d02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8401d02 |
|
|
|
16d5d33 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-13
|
|
|
16d5d33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
16d5d33 |
|
|
Carl Byington |
dff2f44 |
* Sat May 19 2012 Carl Byington <carl@five-ten-sg.com> 1.15-12
|
|
Carl Byington |
dff2f44 |
- Remove static from description of devel subpackage
|
|
Carl Byington |
dff2f44 |
|
|
|
97e48e3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-11
|
|
|
97e48e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
97e48e3 |
|
|
|
dcbc432 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-10
|
|
|
dcbc432 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
dcbc432 |
|
|
|
4fae367 |
* Wed Jul 07 2010 Carl Byington <carl@five-ten-sg.com> 1.15-9
|
|
|
4fae367 |
- Subpackage Licensing, main package requires -libs to get
|
|
|
4fae367 |
license files.
|
|
|
4fae367 |
|
|
|
41f97b1 |
* Sat Jan 02 2010 Jussi Lehtola <jussi.lehtola@iki.fi> 1.15-8
|
|
|
41f97b1 |
- avoid use of chrpath.
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Dec 23 2009 Carl Byington <carl@five-ten-sg.com> 1.15-7
|
|
|
41f97b1 |
- fedora review changes, remove rpath from binaries,
|
|
|
41f97b1 |
--disable-rpath not enough, needs chrpath.
|
|
|
41f97b1 |
- move the %%doc files to -libs package.
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Dec 23 2009 Carl Byington <carl@five-ten-sg.com> 1.15-6
|
|
|
41f97b1 |
- proper installation of the main binary rather than the
|
|
|
41f97b1 |
libtool wrapper.
|
|
|
41f97b1 |
- fixup the fortran wrapper script to properly reference the
|
|
|
41f97b1 |
installed binary.
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Dec 23 2009 Carl Byington <carl@five-ten-sg.com> 1.15-5
|
|
|
41f97b1 |
- devel requires pkgconfig for EPEL
|
|
|
41f97b1 |
- build requires gcc-gfortran
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Dec 23 2009 Carl Byington <carl@five-ten-sg.com> 1.15-4
|
|
|
41f97b1 |
- install -p to preserve timestamps
|
|
|
41f97b1 |
- explicit includedir name
|
|
|
41f97b1 |
- add pkgconfig for EPEL
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Sun Dec 20 2009 Carl Byington <carl@five-ten-sg.com> 1.15-3
|
|
|
41f97b1 |
- explicit names in %%files section rather than wildcards
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Dec 02 2009 Carl Byington <carl@five-ten-sg.com> 1.15-2
|
|
|
41f97b1 |
- fix source url path
|
|
|
41f97b1 |
- remove static libraries
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Wed Nov 25 2009 Carl Byington <carl@five-ten-sg.com> 1.15-1
|
|
|
41f97b1 |
- convert to fedora compatible spec file
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Tue Aug 22 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.11-2mdv2007.0
|
|
|
41f97b1 |
- remove -lg2c from pkgconfig file
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Tue Aug 22 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.11-1mdv2007.0
|
|
|
41f97b1 |
- 1.11
|
|
|
41f97b1 |
- %%mkrel
|
|
|
41f97b1 |
- fix mixed-use-of-spaces-and-tabs
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Sun Dec 04 2005 Austin Acton <austin@mandriva.org> 1.10-1mdk
|
|
|
41f97b1 |
- New release 1.10
|
|
|
41f97b1 |
|
|
|
41f97b1 |
* Fri Aug 12 2005 Austin Acton <austin@mandrake.org> 1.00-1mdk
|
|
|
41f97b1 |
- initial package
|
|
|
41f97b1 |
|