Name: libvlc-qt Version: 0.6.0 Release: alt1.M60P.1 Summary: VLC-Qt is a free library used to connect Qt and libvlc libraries Summary(ru_RU.UTF-8):Библиотека qt для vlc License: GPL Group: Video Url: http://projects.tano.si/en Source: %name-%version.tar.gz #Patch: BuildRequires: cmake doxygen libvlc-devel qt4-designer rpm-macros-cmake BuildRequires: gcc-c++ libqt4-devel libqt4-core Requires: libqt4 libvlc #Conflicts: #Obsoletes: #Provides: %description VLC-Qt is a free library used to connect Qt and libvlc libraries. It contains core classes for main media playback and also some GUI classes for faster media player developement. %description -l ru_RU.UTF-8 VLC-Qt свободная библиотека для связки QT и libvlc. %prep %setup -n %name-%version %build mkdir -p BUILD cd BUILD #add_optflags -I/usr/include/qt4 cmake -v .. -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS="-g -O2" \ -DCMAKE_LD_FLAGS="-Wl,-z,defs -Bsymbolic-functions" \ -DCMAKE_CXX_FLAGS="-g -O2" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DPACKAGE=1 # -DCMAKE_C_FLAGS:STRING="%optflags" \ # -DCMAKE_CXX_FLAGS:STRING="%optflags" %make_build #VERBOSE=1 cd doc doxygen %install pushd BUILD %makeinstall_std %ifarch x86_64 install -d %buildroot%_pkgconfigdir mv %buildroot%_libexecdir/pkgconfig/* %buildroot%_pkgconfigdir/ %endif popd %find_lang %name %files -f %name.lang %doc AUTHORS NEWS README LICENSE.GPL %_libdir/* %_prefix/* %exclude %_libdir/debug #%exclude %_libdir/debug/* %changelog * Sun Dec 18 2011 bla-bla 0.6.0-alt0 - Ку