From 1d4a1f606e429bc554432800ae279543f5b4816a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 3 Mar 2009 00:31:20 +0000 Subject: [PATCH 1/5] Initialize branch EL-4 for libyaml --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..6ec5cef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-4 From 9464a22a17aaf6c8e9b1577d4a5ccacef5020477 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Tue, 3 Mar 2009 01:04:16 +0000 Subject: [PATCH 2/5] initial checkin --- .cvsignore | 1 + libyaml.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) create mode 100644 libyaml.spec diff --git a/.cvsignore b/.cvsignore index e69de29..57e9374 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +yaml-0.1.2.tar.gz diff --git a/libyaml.spec b/libyaml.spec new file mode 100644 index 0000000..059ed10 --- /dev/null +++ b/libyaml.spec @@ -0,0 +1,73 @@ +Name: libyaml +Version: 0.1.2 +Release: 2%{?dist} +Summary: YAML 1.1 parser and emitter written in C + +Group: Development/Libraries +License: MIT +URL: http://pyyaml.org/ +Source0: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +%description +YAML is a data serialization format designed for human readability and +interaction with scripting languages. LibYAML is a YAML parser and +emitter written in C. + + +%package devel +Summary: Development libraries and headers for developing LibYAML applications +Group: Development/Libraries +Requires: libyaml = %{version}-%{release} + + +%description devel +Development libraries and headers for developing LibYAML applications. + + +%prep +%setup -q -n yaml-%{version} + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} INSTALL="install -p" install +rm -f %{buildroot}%{_libdir}/*.la + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc README LICENSE +%{_libdir}/%{name}*.so.* + + +%files devel +%defattr(-,root,root,-) +%doc doc/html +%{_libdir}/%{name}*.so +%{_libdir}/*a +%{_includedir}/yaml.h + + +%changelog +* Thu Feb 26 2009 John Eckersberg - 0.1.2-2 +- Remove README and LICENSE from docs on -devel package +- Remove -static package and merge contents into the -devel package + +* Wed Feb 25 2009 John Eckersberg - 0.1.2-1 +- Initial packaging for Fedora diff --git a/sources b/sources index e69de29..f969dc6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f6c9b5c2b0f6919abd79f5fd059b01dc yaml-0.1.2.tar.gz From 4b7eaa6d21adb53a4721bb9d9ac991cc6ce8041e Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Tue, 3 Mar 2009 18:43:09 +0000 Subject: [PATCH 3/5] do not include static libraries in RPMs --- libyaml.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libyaml.spec b/libyaml.spec index 059ed10..0b15c8a 100644 --- a/libyaml.spec +++ b/libyaml.spec @@ -1,6 +1,6 @@ Name: libyaml Version: 0.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: YAML 1.1 parser and emitter written in C Group: Development/Libraries @@ -38,7 +38,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} make DESTDIR=%{buildroot} INSTALL="install -p" install -rm -f %{buildroot}%{_libdir}/*.la +rm -f %{buildroot}%{_libdir}/*.{la,a} %clean rm -rf %{buildroot} @@ -60,11 +60,13 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc doc/html %{_libdir}/%{name}*.so -%{_libdir}/*a %{_includedir}/yaml.h %changelog +* Tue Mar 3 2009 John Eckersberg - 0.1.2-3 +- Remove static libraries + * Thu Feb 26 2009 John Eckersberg - 0.1.2-2 - Remove README and LICENSE from docs on -devel package - Remove -static package and merge contents into the -devel package From 59b9a0ce34036f3d10f813eee2d4e9487d0b8040 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:56:34 +0000 Subject: [PATCH 4/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 fb5514e..024e465 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := libyaml 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 583cff5b8727f3c7899683e69dc308ddccb4e1ef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 02:21:46 +0000 Subject: [PATCH 5/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 024e465..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: libyaml -# $Id$ -NAME := libyaml -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 6ec5cef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-4