Hello community, here is the log from the commit of package gromacs for openSUSE:Factory checked in at 2012-09-14 12:25:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gromacs (Old) and /work/SRC/openSUSE:Factory/.gromacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gromacs", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/gromacs/gromacs.changes 2011-09-23 02:02:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gromacs.new/gromacs.changes 2012-09-14 12:26:01.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jun 4 16:09:35 UTC 2012 - [email protected] + +- Clean up spec file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gromacs.spec ++++++ --- /var/tmp/diff_new_pack.8ysBEJ/_old 2012-09-14 12:26:02.000000000 +0200 +++ /var/tmp/diff_new_pack.8ysBEJ/_new 2012-09-14 12:26:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gromacs # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,15 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: gromacs -BuildRequires: cmake fftw3-devel libxml2-devel xorg-x11-devel -BuildRequires: gcc-c++ libstdc++-devel -%if 0%{?suse_version} > 1010 -BuildRequires: fdupes -%endif - Version: 4.5.5 Release: 1 Summary: Molecular Dynamics Package @@ -31,6 +23,13 @@ License: GPL-2.0+ Group: Productivity/Scientific/Chemistry Source0: gromacs-%{version}.tar.bz2 +BuildRequires: cmake +BuildRequires: fftw3-devel +BuildRequires: gcc-c++ +BuildRequires: libxml2-devel +BuildRequires: libstdc++-devel +BuildRequires: xorg-x11-devel +BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,13 +61,12 @@ later is STRONGLY recommended on Pentium III and later processors since GROMACS then can use assembly loops with SSE instructions. - %prep %setup -q %build %if 0%{?fedora} -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA" +export RPM_OPT_FLAGS="%{optflags} -DFEDORA" %endif mkdir build cd build @@ -76,8 +74,8 @@ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fno-strict-aliasing" \ - -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -fno-strict-aliasing" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_SKIP_RPATH=1 \ -DPACKAGE_ARCHITECTURE=uname -m \ -DLIB=%{_lib} \ @@ -88,37 +86,31 @@ %install cd build -make DESTDIR=${RPM_BUILD_ROOT} install -%{__rm} -f %{buildroot}%{_libdir}/*.la -%if 0%{?suse_version} > 1010 +%makeinstall +rm -f %{buildroot}%{_libdir}/*.la %fdupes %{buildroot}/usr/share/gromacs -%endif %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* -%dir %{_datadir}/gromacs -%{_datadir}/gromacs/top -%{_datadir}/gromacs/tutor -%docdir %{_datadir}/gromacs/html -%{_datadir}/gromacs/html/ -%{_mandir}/man1/* -%{_mandir}/man7/* +%{_datadir}/gromacs/ +%exclude %{_datadir}/gromacs/template +%doc %{_datadir}/gromacs/html/ %{_libdir}/libgmx.so.* %{_libdir}/libgmxana.so.* %{_libdir}/libmd.so.* %{_libdir}/libgmxpreprocess.so.* +%{_mandir}/man1/* +%{_mandir}/man7/* %files devel %defattr(644,root,root,755) %{_datadir}/gromacs/template +%{_includedir}/gromacs/ %{_libdir}/*.so -%dir %{_includedir}/gromacs -%{_includedir}/gromacs/* %{_libdir}/pkgconfig/* %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
