[xdrfile/f21] Update to 1.1.4
Christopher Meng
cicku at fedoraproject.org
Sat Aug 2 10:57:51 UTC 2014
commit 5420b1c0a3f5700abb776811a121ed303087bf18
Author: Christopher Meng <i at cicku.me>
Date: Sat Aug 2 18:57:11 2014 +0800
Update to 1.1.4
.gitignore | 1 +
sources | 2 +-
xdrfile.spec | 55 ++++++++++++++++++++++++-------------------------------
3 files changed, 26 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5064d00..b34fbed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
xdrfile-1.1.tar.gz
/xdrfile-1.1.1.tar.gz
+/xdrfile-1.1.4.tar.gz
diff --git a/sources b/sources
index faa892f..bb2903f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ceb84765ec212a6f709faf559649023 xdrfile-1.1.1.tar.gz
+d992901d1bd7305b91d280ab85427c7b xdrfile-1.1.4.tar.gz
diff --git a/xdrfile.spec b/xdrfile.spec
index 1db214f..7cbbed4 100644
--- a/xdrfile.spec
+++ b/xdrfile.spec
@@ -1,28 +1,25 @@
Name: xdrfile
-Version: 1.1.1
-Release: 6%{?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
+Version: 1.1.4
+Release: 1%{?dist}
+Summary: C-library for reading and writing GROMACS trr and xtc files
+License: BSD
+URL: http://www.gromacs.org/Developer_Zone/Programming_Guide/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.
+xdrfile is 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}
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
-%description devel
-This package contains development headers and libraries for xdrfile.
+%description devel
+This package contains libraries and header files for
+developing applications that use %{name}.
%prep
%setup -q
@@ -33,35 +30,31 @@ This package contains development headers and libraries for xdrfile.
# 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}
-
+%make_build
%install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot} INSTALL="install -p"
+%make_install INSTALL="install -p"
-# Remove .la files
-rm %{buildroot}/%{_libdir}/*.la
+find %{buildroot} -name '*.la' -delete -print
%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%clean
-rm -rf %{buildroot}
+%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
-%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/%{name}/
%changelog
+* Tue Jul 29 2014 Christopher Meng <rpm at cicku.me> - 1.1.4-1
+- Update to 1.1.4
+- Change License to BSD(should be done years ago).
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list