Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
900efdc43f dist-git conversion 2010-07-29 16:18:51 +00:00
Guido Grazioli
d5c3ae0f17 Upstream 0.2.5 2010-04-02 12:39:47 +00:00
Guido Grazioli
e6791b6c99 - Upstream 0.2.4 2010-01-18 10:36:18 +00:00
Bill Nottingham
47e8de9355 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:13 +00:00
Guido Grazioli
4150eaf366 - Remove duplicate file
Wed Oct 14 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-1
- Initial packaging
2009-10-19 16:45:25 +00:00
8adc27deee Initialize branch F-11 for yaml-cpp 2009-10-19 16:02:27 +00:00
5 changed files with 82 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
yaml-cpp-0.2.5.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: yaml-cpp
# $Id$
NAME := yaml-cpp
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
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)

View file

@ -0,0 +1 @@
b17dc36055cd2259c88b2602601415d9 yaml-cpp-0.2.5.tar.gz

80
yaml-cpp.spec Normal file
View file

@ -0,0 +1,80 @@
Name: yaml-cpp
Version: 0.2.5
Release: 1%{?dist}
Summary: A YAML parser and emitter for C++
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/yaml-cpp/
Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
%description
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
License: MIT
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
# Fix eol
sed -i 's/\r//' license.txt
%build
# ask cmake to not strip binaries
%cmake .
make VERBOSE=1 %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc license.txt
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/yaml-cpp/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Apr 02 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.5-1
- Upstream 0.2.5
* Fri Jan 15 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.4-1
- Upstream 0.2.4
* Sat Oct 17 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-2
- Remove duplicate file
* Wed Oct 14 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-1
- Initial packaging