# # spec file for package quvi # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define soname 6 Name: quvi Version: 0.2.19 Release: 1 Summary: Parsing video downloads links for Youtube and others Group: Productivity/Multimedia/Other License: GNU LGPLv2.1 Url: http://sourceforge.net/projects/quvi/files/0.2/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) >= 7.18.0 BuildRequires: pkgconfig(libpcre) >= 7.8 BuildRequires: pkgconfig(lua) >= 5.1 %description quvi is a commandline tool for parsing video download links. It supports Youtube and other similar video Web sites. %package -n libquvi%{soname} Summary: Parsing video downloads links for Youtube and others Group: Development/Libraries/C and C++ %description -n libquvi%{soname} libquvi is a library for parsing video download links with a C API. It is written in C and intended to be a cross-platform library. %package -n libquvi-devel Summary: Parsing video downloads links for Youtube and others Group: Development/Libraries/C and C++ Requires: libquvi%{soname} = %{version}-%{release} Requires: pkg-config Requires: %{name} = %{version} %description -n libquvi-devel libquvi is a library for parsing video download links with a C API. It is written in C and intended to be a cross-platform library. %prep %setup -q %build %{configure} \ --enable-smut \ --enable-broken \ --disable-rpath \ --disable-static make %{?_smp_mflags} %install %{makeinstall} find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %clean %{?buildroot:%__rm -rf "%{buildroot}"} %post -n libquvi%{soname} -p /sbin/ldconfig %postun -n libquvi%{soname} -p /sbin/ldconfig %files %defattr(-,root,root,0755) %doc COPYING README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_mandir}/man1/%{name}* %files -n libquvi%{soname} %defattr(-,root,root,0755) %doc COPYING %{_libdir}/*.so.* %files -n libquvi-devel %defattr(-,root,root,0755) %doc ChangeLog %{_includedir}/%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog