%define gst_minver 0.10.11.2 %define gstpy_minver 0.10.0 %define pygtk_minver 2.8.0 %{!?gstreamer: %define gstreamer gstreamer} Name: codeina Version: 0.10.0.1 Release: 0.20070404.170114 Summary: Codeina - Codec Installation Application Group: Applications/Internet License: GPL URL: http://www.fluendo.com/ Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: python >= 2.3 Requires: %{gstreamer} >= %{gst_minver} Requires: %{gstreamer}-python >= %{gstpy_minver} Requires: pygtk2 >= %{pygtk_minver} BuildRequires: python-devel >= 2.3 # sigh, libtool BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: gettext BuildRequires: desktop-file-utils BuildArch: noarch %description Codeina installs codecs from the Fluendo webshop for GStreamer. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT # use DESTDIR so compiled python files get tagged correctly with their # final location make DESTDIR=$RPM_BUILD_ROOT install # desktop file # desktop-file-install \ # --vendor fedora \ # --mode 644 \ # --dir $RPM_BUILD_ROOT%{_datadir}/applications \ # --add-category X-Fedora \ # --delete-original \ # $RPM_BUILD_ROOT%{_datadir}/applications/flumotion-admin.desktop %find_lang codeina %clean rm -rf $RPM_BUILD_ROOT %files -f codeina.lang %defattr(-,root,root,-) %doc ChangeLog COPYING README AUTHORS %{_bindir}/codeina %{_libdir}/codeina/python/codeina %{_datadir}/codeina %changelog * Sun Mar 04 2007 Thomas Vander Stichele - First package