[521] | 1 | Summary: YAML 1.1 parser and emitter written in C |
---|
| 2 | |
---|
| 3 | Name: libyaml |
---|
| 4 | Version: 0.1.2 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | License: MIT |
---|
| 9 | URL: http://pyyaml.org/ |
---|
| 10 | Source0: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | YAML is a data serialization format designed for human readability and |
---|
| 16 | interaction with scripting languages. LibYAML is a YAML parser and |
---|
| 17 | emitter written in C. |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | %package devel |
---|
| 21 | Summary: Development libraries and headers for developing LibYAML applications |
---|
| 22 | Group: Development/Libraries |
---|
| 23 | Requires: libyaml = %{version}-%{release} |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description devel |
---|
| 27 | Development libraries and headers for developing LibYAML applications. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n yaml-%{version} |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %configure |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | make DESTDIR=%{buildroot} INSTALL="install -p" install |
---|
| 42 | rm -f %{buildroot}%{_libdir}/*.{la,a} |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf %{buildroot} |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %post -p /sbin/ldconfig |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %postun -p /sbin/ldconfig |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc README LICENSE |
---|
| 57 | %{_libdir}/%{name}*.so.* |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %files devel |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc doc/html |
---|
| 63 | %{_libdir}/%{name}*.so |
---|
| 64 | %{_includedir}/yaml.h |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1 |
---|
| 69 | - initial build for Vine Linux |
---|
| 70 | |
---|
| 71 | * Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3 |
---|
| 72 | - Remove static libraries |
---|
| 73 | |
---|
| 74 | * Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2 |
---|
| 75 | - Remove README and LICENSE from docs on -devel package |
---|
| 76 | - Remove -static package and merge contents into the -devel package |
---|
| 77 | |
---|
| 78 | * Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1 |
---|
| 79 | - Initial packaging for Fedora |
---|