source: projects/specs/trunk/lib/liby/libyaml/libyaml-vl.spec @ 12309

Revision 12309, 2.4 KB checked in by tomop, 5 years ago (diff)

updated 10 packages

PyYAML-5.1.2-1

lz4-1.9.2-1

libnet-1.1.6-2

libyaml-0.2.2-1

mecab-naist-jdic-0.6.3b.20111013-2

mecab-0.996-3

perl-HTTP-Cookies-6.04-8

perl-LWP-Protocol-https-6.07-10

perl-Mozilla-CA-20180117-7

swig-4.0.1-1

RevLine 
[521]1Summary:        YAML 1.1 parser and emitter written in C
2Name:           libyaml
[12309]3Version:        0.2.2
4Release:        1%{?_dist_release}
5Group:          System Environment/Libraries
[521]6
[12309]7Vendor:         Project Vine
8Distribution:   Vine Linux
9
[521]10License:        MIT
11URL:            http://pyyaml.org/
[12309]12Source0:        http://pyyaml.org/download/libyaml/%{name}-%{version}.tar.gz
[9006]13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
[521]14
15
16%description
17YAML is a data serialization format designed for human readability and
18interaction with scripting languages.  LibYAML is a YAML parser and
19emitter written in C.
20
21
22%package devel
23Summary:        Development libraries and headers for developing LibYAML applications
24Group:          Development/Libraries
25Requires:       libyaml = %{version}-%{release}
26
27
28%description devel
29Development libraries and headers for developing LibYAML applications.
30
31
32%prep
[12309]33%setup -q -n %{name}-%{version}
[521]34
35
36%build
[12309]37./bootstrap
[521]38%configure
39make %{?_smp_mflags}
40
41
42%install
43rm -rf %{buildroot}
44make DESTDIR=%{buildroot} INSTALL="install -p" install
45rm -f %{buildroot}%{_libdir}/*.{la,a}
46
[12309]47soname=$(readelf -d %{buildroot}%{_libdir}/libyaml.so | awk '$2 == "(SONAME)" {print $NF}' | tr -d '[]')
48rm -f %{buildroot}%{_libdir}/libyaml.so
49echo "INPUT($soname)" > %{buildroot}%{_libdir}/libyaml.so
50
51
52%check
53make check
54
55
[521]56%clean
57rm -rf %{buildroot}
58
59
60%post -p /sbin/ldconfig
61%postun -p /sbin/ldconfig
62
63
64%files
65%defattr(-,root,root,-)
[12309]66%license LICENSE
67%doc README
[521]68%{_libdir}/%{name}*.so.*
69
70
71%files devel
72%defattr(-,root,root,-)
73%doc doc/html
74%{_libdir}/%{name}*.so
[5901]75%{_libdir}/pkgconfig/yaml-0.1.pc
[521]76%{_includedir}/yaml.h
77
78
79%changelog
[12309]80* Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.2-1
81- new upstream release.
82
[9006]83* Sun Oct 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.6-2
84- moved libyaml to System Environment/Libraries Group
85
[8364]86* Fri Apr 18 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
87- update to 0.1.6
88
[5901]89* Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.4-1
90- new upstream release
91
[521]92* Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
93- initial build for Vine Linux
94
95* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
96- Remove static libraries
97
98* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
99- Remove README and LICENSE from docs on -devel package
100- Remove -static package and merge contents into the -devel package
101
102* Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
103- Initial packaging for Fedora
Note: See TracBrowser for help on using the repository browser.