Package xdrfile: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | %def_disable static
Name: xdrfile
Version: 1.1.4
Release: alt1
Summary: Reading and writing trr and xtc files
License: LGPLv3
Group: Development/Tools
Url: http://wiki.gromacs.org/index.php/XTC_Library
Source: ftp://ftp.gromacs.org/pub/contrib/xdrfile-%version.tar.gz
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
Requires: lib%name = %version-%release
BuildPreReq: gcc-fortran chrpath
%description
This tool allows to read GROMACS trr and xtc files and also to
convert from one format to another.
%package -n lib%name
Summary: XTC shared library
Group: System/Libraries
%description -n lib%name
This library allows to read GROMACS trr and xtc files and also to
convert from one format to another.
%package -n lib%name-devel
Summary: Development files of XTC library
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
This library allows to read GROMACS trr and xtc files and also to
convert from one format to another.
This package contains development files of XTC library.
%package -n lib%name-devel-static
Summary: XTC static library
Group: Development/C
Requires: lib%name-devel = %version-%release
%description -n lib%name-devel-static
This library allows to read GROMACS trr and xtc files and also to
convert from one format to another.
This package contains static version of XTC library.
%prep
%setup
%build
%configure --enable-fortran --enable-shared %{subst_enable static}
%make_build
%make test
%install
%makeinstall_std
chrpath -d %buildroot%_bindir/trr2xtc
%files
%doc AUTHORS COPYING NEWS README
%_bindir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
* Tue Sep 21 2021 Vitaly Lipatov <lav@altlinux.ru> 1.1.4-alt1
- new version 1.1.4 (with rpmrb script)
- disable build devel-static subpackage
* Fri Apr 19 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.1.1-alt2.qa1
- NMU: rebuilt for updated dependencies.
* Wed Dec 14 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt2
- Removed RPATH
* Fri Nov 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt1
- Version 1.1.1
* Fri Feb 11 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1-alt3
- Rebuilt for debuginfo
* Mon Oct 04 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1-alt2
- Rebuilt without rpm-build-compat
* Tue May 26 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1-alt1
- Initial build for Sisyphus
|