]> git.pld-linux.org Git - packages/yaml.git/commitdiff
- initial auto/th/yaml-0_0_1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 26 May 2007 22:36:54 +0000 (22:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    yaml.spec -> 1.1

yaml.spec [new file with mode: 0644]

diff --git a/yaml.spec b/yaml.spec
new file mode 100644 (file)
index 0000000..643212c
--- /dev/null
+++ b/yaml.spec
@@ -0,0 +1,63 @@
+Summary:       A C library for parsing and emitting YAML
+Name:          yaml
+Version:       0.0.1
+Release:       1
+License:       BSD
+Group:         Libraries
+Source0:       http://pyyaml.org/download/libyaml/%{name}-%{version}.tar.gz
+# Source0-md5: 8affdebeb0da9ed6a4cefba210b432d4
+URL:           http://pyyaml.org/wiki/LibYAML
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+YAML 1.1 parser and emitter written in C.
+
+%package devel
+Summary:       Header files and develpment documentation for yaml
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and develpment documentation for yaml.
+
+%package static
+Summary:       Static yaml library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static yaml library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*.h
+%{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.11606 seconds and 4 git commands to generate.