commit 0c7690deae4592334a46d47e7d66b0b1c05f4888 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:57:46 2019 -0400 Package init diff --git a/libquvi-0.9.4.tar.xz b/libquvi-0.9.4.tar.xz new file mode 100644 index 0000000..85e5d87 Binary files /dev/null and b/libquvi-0.9.4.tar.xz differ diff --git a/libquvi.spec b/libquvi.spec new file mode 100644 index 0000000..403aaa1 --- /dev/null +++ b/libquvi.spec @@ -0,0 +1,78 @@ +Name: libquvi +Version: 0.9.4 +Release: 15 +Summary: A cross-platform library for parsing flash media stream +License: AGPLv3+ +URL: http://quvi.sourceforge.net +Source0: http://downloads.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz +BuildRequires: gcc git gdb asciidoc lua-devel libproxy-devel +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 +make check + +%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 +* Tue Sep 27 2019 luhuaxin - 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 - 0.9.4-14 +- Package init