cleanup spec
(cherry picked from commit 54bc22950f70c6a9fe0a9ef86fcb5e5e808e2007)
This commit is contained in:
parent
c40d09faca
commit
13b88eba86
55
libogg.spec
55
libogg.spec
@ -1,15 +1,12 @@
|
|||||||
Name: libogg
|
Name: libogg
|
||||||
Version: 1.3.5
|
|
||||||
Release: 3
|
|
||||||
Summary: Ogg Bitstream Library.
|
|
||||||
License: BSD
|
|
||||||
URL: http://www.xiph.org/
|
|
||||||
Vendor: Xiph.org Foundation <team@xiph.org>
|
|
||||||
Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
BuildRequires: automake gcc
|
Version: 1.3.5
|
||||||
Requires: glibc
|
Release: 4
|
||||||
|
Summary: Ogg Bitstream Library.
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://www.xiph.org/
|
||||||
|
Source: https://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: gcc make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libogg is a library for manipulating ogg bitstreams. It handles
|
Libogg is a library for manipulating ogg bitstreams. It handles
|
||||||
@ -17,7 +14,7 @@ both making ogg bitstreams and getting packets from ogg bitstreams.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Ogg Bitstream Library Development
|
Summary: Ogg Bitstream Library Development
|
||||||
Requires: libogg = %{epoch}:%{version}-%{release} automake pkgconf
|
Requires: libogg = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libogg-devel package contains the header files, static libraries
|
The libogg-devel package contains the header files, static libraries
|
||||||
@ -29,68 +26,59 @@ and documentation needed to develop applications with libogg.
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i 's/-O20/$RPM_OPT_FLAGS/g' configure
|
%configure --disable-static
|
||||||
sed -i 's/-ffast-math/ /g' configure
|
|
||||||
%configure
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
%make_build check
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS CHANGES COPYING README.md
|
%doc AUTHORS CHANGES COPYING README.md
|
||||||
%{_libdir}/libogg.so.*
|
%{_libdir}/libogg.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_includedir}/ogg
|
%dir %{_includedir}/ogg
|
||||||
%{_includedir}/ogg/ogg.h
|
%{_includedir}/ogg/ogg.h
|
||||||
%{_includedir}/ogg/os_types.h
|
%{_includedir}/ogg/os_types.h
|
||||||
%{_includedir}/ogg/config_types.h
|
%{_includedir}/ogg/config_types.h
|
||||||
%{_libdir}/libogg.a
|
|
||||||
%{_libdir}/libogg.la
|
|
||||||
%{_libdir}/libogg.so
|
%{_libdir}/libogg.so
|
||||||
%{_libdir}/pkgconfig/ogg.pc
|
%{_libdir}/pkgconfig/ogg.pc
|
||||||
%{_datadir}/aclocal/ogg.m4
|
%{_datadir}/aclocal/ogg.m4
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{_docdir}/
|
%doc %{_docdir}/
|
||||||
%exclude %{_docdir}/%{name}/{AUTHORS,CHANGES,COPYING,README.md}
|
%exclude %{_docdir}/%{name}/{AUTHORS,CHANGES,COPYING,README.md}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 2:1.3.5-4
|
||||||
|
- cleanup spec
|
||||||
|
|
||||||
* Tue Jul 30 2024 wangxiao <wangxiao184@h-partners.com> - 2:1.3.5-3
|
* Tue Jul 30 2024 wangxiao <wangxiao184@h-partners.com> - 2:1.3.5-3
|
||||||
- update release
|
- update release
|
||||||
|
|
||||||
* Tue Oct 25 2022 Liu Yuntao <liuyuntao10@huawei.com> - 1.3.5-2
|
* Tue Oct 25 2022 Liu Yuntao <liuyuntao10@huawei.com> - 2:1.3.5-2
|
||||||
- rebuild package
|
- rebuild package
|
||||||
|
|
||||||
* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.3.5-1
|
* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2:1.3.5-1
|
||||||
- update libogg to 1.3.5
|
- update libogg to 1.3.5
|
||||||
|
|
||||||
* Fri Sep 4 2020 shixuantong <shixuantong@huawei.com> - 1.3.4-3
|
* Fri Sep 4 2020 shixuantong <shixuantong@huawei.com> - 2:1.3.4-3
|
||||||
- update Source0
|
- update Source0
|
||||||
|
|
||||||
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 1.3.4-2
|
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 2:1.3.4-2
|
||||||
- delete old tar file
|
- delete old tar file
|
||||||
|
|
||||||
* Mon May 11 2020 chenmaodong <chenmaodong@huawei.com> - 1.3.4-1
|
* Mon May 11 2020 chenmaodong <chenmaodong@huawei.com> - 2:1.3.4-1
|
||||||
- update libogg to 1.3.4
|
- update libogg to 1.3.4
|
||||||
|
|
||||||
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.3-3
|
* Thu Sep 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.3.3-3
|
||||||
- Fix bad requires
|
- Fix bad requires
|
||||||
|
|
||||||
* Tue Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.3-2
|
* Tue Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.3.3-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
* Thu Nov 08 2007 Conrad Parker <conrad@metadecks.org>
|
* Thu Nov 08 2007 Conrad Parker <conrad@metadecks.org>
|
||||||
@ -120,4 +108,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
|
* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
|
||||||
- initial spec file created
|
- initial spec file created
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user