libquvi/libquvi.spec

88 lines
2.0 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:46 -04:00
Name: libquvi
Version: 0.9.4
2021-07-23 10:54:51 +08:00
Release: 18
2019-09-30 10:57:46 -04:00
Summary: A cross-platform library for parsing flash media stream
License: AGPLv3+
URL: http://quvi.sourceforge.net
2020-10-15 20:49:08 +08:00
Source0: https://master.dl.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz
2021-07-23 10:54:51 +08:00
BuildRequires: gcc git asciidoc lua-devel libproxy-devel
2019-09-30 10:57:46 -04:00
BuildRequires: libcurl-devel glib2-devel libquvi-scripts libgcrypt-devel
Requires: libquvi-scripts
%description
Libquvi is a small C library that can be used to parse ad0be flash
media stream URLs.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Provides: %{name}-static = %{version}-%{release}
Obsoletes: %{name}-static < %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package help
Summary: Doc files for %{name}
Buildarch: noarch
%description help
The %{name}-help package contains doc files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
%configure --disable-rpath --enable-static
%make_build
%install
%make_install
rm -f %{buildroot}/%{_libdir}/%{name}-0.9.la
%check
2020-03-21 15:13:49 +08:00
#make check
2019-09-30 10:57:46 -04:00
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license AUTHORS COPYING
%{_libdir}/%{name}-0.9-%{version}.so
%{_libdir}/%{name}-0.9.so
%files devel
%{_includedir}/quvi-0.9
%{_libdir}/pkgconfig/%{name}-0.9.pc
%{_libdir}/%{name}-0.9.a
%files help
%doc ChangeLog README
%{_mandir}/man3/%{name}.3.gz
%{_mandir}/man7/quvi-object.7.gz
%changelog
2021-07-23 10:54:51 +08:00
* Fri Jul 23 2021 shangyibin <shangyibin1@huawei.com> - 0.9.4-18
- delete gdb build dependency
2020-10-15 20:49:08 +08:00
* Thu Oct 15 2020 shixuantong <shixuantong@huawei.com> - 0.9.4-17
- update source0
2020-03-21 15:13:49 +08:00
* Sat Mar 21 2020 chengquan <chengquan3@huawei.com> - 0.9.4-16
2020-03-21 15:13:56 +08:00
- remove make check
2020-03-21 15:13:49 +08:00
2019-09-30 10:57:46 -04:00
* Tue Sep 27 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-15
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: move AUTHORS and COPYING files to license folder, fix requires
* Wed Aug 28 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-14
- Package init