Blame SPECS/libyaml.spec

4357a4
%define tarballname yaml
4357a4
4357a4
#====================================================================#
4357a4
4357a4
Name:       libyaml
4357a4
Version:    0.1.7
4357a4
Release:    5%{?dist}
4357a4
Summary:    YAML 1.1 parser and emitter written in C
4357a4
4357a4
Group:      System Environment/Libraries
4357a4
License:    MIT
4357a4
URL:        http://pyyaml.org/
4357a4
Source0:    http://pyyaml.org/download/libyaml/%{tarballname}-%{version}.tar.gz
4357a4
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4357a4
4357a4
%description
4357a4
YAML is a data serialization format designed for human readability and
4357a4
interaction with scripting languages.  LibYAML is a YAML parser and
4357a4
emitter written in C.
4357a4
4357a4
4357a4
%package devel
4357a4
Summary:   Development files for LibYAML applications
4357a4
Group:     Development/Libraries
4357a4
Requires:  libyaml = %{version}-%{release}, pkgconfig
4357a4
4357a4
4357a4
%description devel
4357a4
The %{name}-devel package contains libraries and header files for
4357a4
developing applications that use LibYAML.
4357a4
4357a4
4357a4
%prep
4357a4
%setup -q -n %{tarballname}-%{version}
4357a4
4357a4
4357a4
%build
4357a4
%configure
4357a4
make %{?_smp_mflags}
4357a4
4357a4
4357a4
%install
4357a4
rm -rf %{buildroot}
4357a4
make DESTDIR=%{buildroot} INSTALL="install -p" install
4357a4
rm -f %{buildroot}%{_libdir}/*.{la,a}
4357a4
4357a4
soname=$(readelf -d %{buildroot}%{_libdir}/libyaml.so | awk '$2 == "(SONAME)" {print $NF}' | tr -d '[]')
4357a4
rm -f %{buildroot}%{_libdir}/libyaml.so
4357a4
echo "INPUT($soname)" > %{buildroot}%{_libdir}/libyaml.so
4357a4
4357a4
4357a4
%check
4357a4
make check
4357a4
4357a4
4357a4
%ldconfig_scriptlets
4357a4
4357a4
4357a4
%files
4357a4
%license LICENSE
4357a4
%doc README
4357a4
%{_libdir}/%{name}*.so.*
4357a4
4357a4
4357a4
%files devel
4357a4
%doc doc/html
4357a4
%{_libdir}/%{name}*.so
4357a4
%{_libdir}/pkgconfig/yaml-0.1.pc
4357a4
%{_includedir}/yaml.h
4357a4
4357a4
4357a4
%changelog
4357a4
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-5
4357a4
- Switch to %%ldconfig_scriptlets
4357a4
4357a4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-4
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4357a4
4357a4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-3
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4357a4
4357a4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4357a4
4357a4
* Mon Aug 29 2016 John Eckersberg <eck@redhat.com> - 0.1.7-1
4357a4
- New upstream release 0.1.7 (RHBZ#1371154)
4357a4
4357a4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-8
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4357a4
4357a4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-7
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4357a4
4357a4
* Mon Dec  1 2014 John Eckersberg <eck@redhat.com> - 0.1.6-6
4357a4
- Add patch for CVE-2014-9130 (RHBZ#1169371)
4357a4
4357a4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-5
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4357a4
4357a4
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 0.1.6-4
4357a4
- fix license handling
4357a4
4357a4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-3
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4357a4
4357a4
* Mon Mar 31 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.6-2
4357a4
- Work around ldconfig bug with libyaml.so (bz1082822)
4357a4
4357a4
* Wed Mar 26 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.6-1
4357a4
- New upstream release 0.1.6 (bz1081492)
4357a4
- Fixes CVE-2014-2525 (bz1078083)
4357a4
4357a4
* Tue Feb  4 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.5-1
4357a4
- New upstream release 0.1.5 (bz1061087)
4357a4
- Removed patches for CVE-2013-6393; they are included in 0.1.5
4357a4
  upstream
4357a4
4357a4
* Wed Jan 29 2014 John Eckersberg <jeckersb@redhat.com> - 0.1.4-6
4357a4
- Add patches for CVE-2013-6393 (bz1033990)
4357a4
4357a4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-5
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4357a4
4357a4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-4
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4357a4
4357a4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4357a4
4357a4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4357a4
4357a4
* Thu Jun 23 2011 John Eckersberg <jeckersb@redhat.com> - 0.1.4-1
4357a4
- New upstream release 0.1.4
4357a4
4357a4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4357a4
4357a4
* Fri Oct 02 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.3-1
4357a4
- New upstream release 0.1.3
4357a4
4357a4
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
4357a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4357a4
4357a4
* Wed Jul 22 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-4
4357a4
- Minor tweaks to spec file
4357a4
- Enable %%check section
4357a4
- Thanks Gareth Armstrong <gareth.armstrong@hp.com>
4357a4
4357a4
* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
4357a4
- Remove static libraries
4357a4
4357a4
* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
4357a4
- Remove README and LICENSE from docs on -devel package
4357a4
- Remove -static package and merge contents into the -devel package
4357a4
4357a4
* Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
4357a4
- Initial packaging for Fedora