Compare commits
No commits in common. "rawhide" and "f18" have entirely different histories.
4 changed files with 90 additions and 3 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
xdrfile-1.1.tar.gz
|
||||
/xdrfile-1.1.1.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
2016-05-19: Retired orphaned package, because it was orphaned for
|
||||
more than six weeks.
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
1ceb84765ec212a6f709faf559649023 xdrfile-1.1.1.tar.gz
|
||||
87
xdrfile.spec
Normal file
87
xdrfile.spec
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
Name: xdrfile
|
||||
Version: 1.1.1
|
||||
Release: 3%{?dist}
|
||||
Summary: A small C-library for reading and writing GROMACS trr and xtc files
|
||||
Group: Applications/Engineering
|
||||
License: LGPLv3+
|
||||
URL: http://oldwiki.gromacs.org/index.php/XTC_Library
|
||||
Source0: ftp://ftp.gromacs.org/pub/contrib/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
|
||||
%description
|
||||
A small C-library for reading and writing trr and xtc files. The library is
|
||||
lightweight (no dependencies, portable) and can be incorporated in other
|
||||
software, because it is being distributed under the BSD license. The library
|
||||
also contains one program trr2xtc which does what you would expect, and the
|
||||
other way around.
|
||||
|
||||
%package devel
|
||||
Summary: Development library and headers for xdrfile
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development headers and libraries for xdrfile.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
[ -s ChangeLog ] && exit 1 # exit if file has non-zero size
|
||||
|
||||
%build
|
||||
%configure --enable-shared --disable-static
|
||||
# Get rid of rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
|
||||
# Remove .la files
|
||||
rm %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
%changelog
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Apr 08 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1.1-1
|
||||
- Update to 1.1.1.
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sat Jun 13 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-2
|
||||
- Conserve timestamps during install, fix URL & Source0.
|
||||
|
||||
* Mon May 18 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.1-1
|
||||
- Update to 1.1 that fixes licensing and other issues.
|
||||
|
||||
* Wed Apr 08 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.0-1
|
||||
- First release.
|
||||
Loading…
Add table
Add a link
Reference in a new issue