File quvi.spec of Package quvi
#
# spec file for package quvi (Version 0.6.2)
#
# Copyright (c) 2010 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
Name: quvi
Version: 0.1.4
Release: 1
Summary: Parsing video downloads links for Youtube and others
Group: Productivity/Multimedia/Other
License: GPLv3
URL: http://code.google.com/p/quvi/
Source: http://quvi.googlecode.com/files/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libcurl-devel >= 7.18.0
BuildRequires: pkg-config
BuildRequires: pcre-devel >= 7.8
%description
quvi is a commandline tool for parsing video download links. It supports
Youtube and other similar video Web sites.
%package -n libquvi0
Summary: Parsing video downloads links for Youtube and others
Group: Development/Libraries/C and C++
%description -n libquvi0
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: libquvi0 = %{version}-%{release}
%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}
%install
%{makeinstall}
%{__rm} -f %{buildroot}/%{_libdir}/libquvi.la
%clean
%{__rm} -rf %{buildroot}
%post -n libquvi0 -p /sbin/ldconfig
%postun -n libquvi0 -p /sbin/ldconfig
%files
%defattr(-,root,root,0755)
%doc ChangeLog COPYING NEWS README TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%files -n libquvi0
%defattr(-,root,root,0755)
%doc COPYING
%{_libdir}/libquvi.so.*
%files -n libquvi-devel
%defattr(-,root,root,0755)
%{_includedir}/%{name}/
%{_libdir}/libquvi.so
%{_libdir}/pkgconfig/libquvi.pc
%changelog