From 2ec9f74ed7ca8c65dd06a52accc86a2835bafdca Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 14 Jun 2009 18:54:55 +0000 Subject: [PATCH 1/5] Initialize branch EL-5 for xdrfile --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 751677236b0477b18f1f9ddaa2e219cbe1a6920f Mon Sep 17 00:00:00 2001 From: Jussi Lehtola Date: Mon, 15 Jun 2009 07:10:26 +0000 Subject: [PATCH 2/5] Imported in Fedora. --- sources | 1 + xdrfile.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 xdrfile.spec diff --git a/sources b/sources index e69de29..d02ba17 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +529605c4348d4a7352f9bdb54267923c xdrfile-1.1.tar.gz diff --git a/xdrfile.spec b/xdrfile.spec new file mode 100644 index 0000000..e74d3a7 --- /dev/null +++ b/xdrfile.spec @@ -0,0 +1,72 @@ +Name: xdrfile +Version: 1.1 +Release: 2%{?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 -n %{name}-%{version}b +[ -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 +* Sat Jun 13 2009 Jussi Lehtola - 1.1-2 +- Conserve timestamps during install, fix URL & Source0. + +* Mon May 18 2009 Jussi Lehtola - 1.1-1 +- Update to 1.1 that fixes licensing and other issues. + +* Wed Apr 08 2009 Jussi Lehtola - 1.0-1 +- First release. From 120cd2261e1f5af208d39e8d9e565e94e1995b32 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:30:22 +0000 Subject: [PATCH 3/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e2e1264..240d992 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := xdrfile SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 35ff76895c061c51b3a9a71653e6568d73725016 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:38:20 +0000 Subject: [PATCH 4/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 240d992..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: xdrfile -# $Id$ -NAME := xdrfile -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 From b99f8651a72c6c68060d0d3d9976b0366e496e01 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Wed, 17 Dec 2014 22:37:00 +0100 Subject: [PATCH 5/5] 2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks. Reference: https://fedorahosted.org/epel/ticket/7 --- .gitignore | 0 dead.package | 3 +++ sources | 1 - xdrfile.spec | 72 ---------------------------------------------------- 4 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 xdrfile.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..8d8263d --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2014-12-17: Retired orphaned package, because it was orphaned for more than six weeks. +Reference: https://fedorahosted.org/epel/ticket/7 + diff --git a/sources b/sources deleted file mode 100644 index d02ba17..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -529605c4348d4a7352f9bdb54267923c xdrfile-1.1.tar.gz diff --git a/xdrfile.spec b/xdrfile.spec deleted file mode 100644 index e74d3a7..0000000 --- a/xdrfile.spec +++ /dev/null @@ -1,72 +0,0 @@ -Name: xdrfile -Version: 1.1 -Release: 2%{?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 -n %{name}-%{version}b -[ -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 -* Sat Jun 13 2009 Jussi Lehtola - 1.1-2 -- Conserve timestamps during install, fix URL & Source0. - -* Mon May 18 2009 Jussi Lehtola - 1.1-1 -- Update to 1.1 that fixes licensing and other issues. - -* Wed Apr 08 2009 Jussi Lehtola - 1.0-1 -- First release.