[svn] r5442 - in trunk/rpms: . libyaml

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Wed May 30 22:26:34 CEST 2007


Author: dries
Date: 2007-05-30 22:26:30 +0200 (Wed, 30 May 2007)
New Revision: 5442

Added:
   trunk/rpms/libyaml/
   trunk/rpms/libyaml/libyaml.spec
Log:
add

Added: trunk/rpms/libyaml/libyaml.spec
===================================================================
--- trunk/rpms/libyaml/libyaml.spec	                        (rev 0)
+++ trunk/rpms/libyaml/libyaml.spec	2007-05-30 20:26:30 UTC (rev 5442)
@@ -0,0 +1,61 @@
+# $Id$
+# Authority: dries
+# Upstream: Kirill <xi$gamma,dn,ua>
+
+Summary: Implementation of a YAML 1.1 parser and emitter
+Name: libyaml
+Version: 0.0.1
+Release: 1
+License: MIT/X Consortium
+Group: Development/Libraries
+URL: http://pyyaml.org/wiki/LibYAML
+
+Source: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+LibYAML is a C library implementation of a YAML 1.1 parser and emitter. 
+It includes a Python language binding.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup -n yaml-%{version}
+
+%build
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR=%{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc LICENSE README
+%{_libdir}/libyaml-0.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/yaml.h
+%{_libdir}/libyaml.so
+%exclude %{_libdir}/*.la
+
+%changelog
+* Mon May 28 2007 Dries Verachtert <dries at ulyssis.org> - 0.0.1-1
+- Initial package.




More information about the commits mailing list