Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ svn diff
- Index: vlc-qt.spec
- ===================================================================
- --- vlc-qt.spec (révision 612502)
- +++ vlc-qt.spec (copie de travail)
- @@ -1,10 +1,10 @@
- -Summary: A simple library to connect Qt application with libvlc
- Name: vlc-qt
- Version: 0.9.0
- Release: %mkrel 2
- +Summary: A simple library to connect Qt application with libvlc
- License: GPLv3+
- Group: System/Libraries
- -Url: http://projects.tano.si/
- +URL: http://projects.tano.si/
- # Generated by github https://github.com/ntadej/vlc-qt
- Source0: %{name}-%{version}.tar.gz
- Patch0: %{name}-%{version}-linkage.patch
- @@ -19,10 +19,10 @@
- #----------------------------------------------------------------------------
- -%define libvlcqt_major 0.9
- -%define libvlcqt %mklibname vlc-qt %{libvlcqt_major}
- +%define libvlcqt_major 0.9
- +%define libvlcqt %mklibname %{name} %{libvlcqt_major}
- -%package -n %{libvlcqt}
- +%package -n %{libvlcqt}
- Summary: A simple library to connect Qt application with libvlc (core)
- Group: System/Libraries
- @@ -34,17 +34,18 @@
- This package contains vlc-qt core library.
- %files -n %{libvlcqt}
- -%{_libdir}/libvlc-qt.so.%{libvlcqt_major}*
- +%{_libdir}/libvlc-qt.so.%{libvlcqt_major}
- +%{_libdir}/libvlc-qt.so.%{libvlcqt_major}.*
- #----------------------------------------------------------------------------
- -%define devvlcqt %mklibname vlc-qt -d
- +%define devvlcqt %mklibname %{name} -d
- -%package -n %{devvlcqt}
- +%package -n %{devvlcqt}
- Summary: Headers and development libraries for vlc-qt core library
- Group: Development/C++
- -Requires: %{libvlcqt} = %{version}
- -Provides: %{name}-devel = %{EVRD}
- +Requires: %{libvlcqt} = %{version}-%{release}
- +Provides: %{name}-devel = %{version}-%{release}
- %description -n %{devvlcqt}
- Headers and development libraries for vlc-qt core library.
- @@ -53,27 +54,14 @@
- %doc AUTHORS CHANGELOG README.md LICENSE.GPL LICENSE.LGPL
- %{_libdir}/pkgconfig/libvlc-qt.pc
- %{_libdir}/libvlc-qt.so
- -%{_includedir}/%{name}/Audio.h
- -%{_includedir}/%{name}/Common.h
- -%{_includedir}/%{name}/Config.h
- -%{_includedir}/%{name}/Enums.h
- -%{_includedir}/%{name}/Error.h
- -%{_includedir}/%{name}/Instance.h
- -%{_includedir}/%{name}/Media.h
- -%{_includedir}/%{name}/MediaList.h
- -%{_includedir}/%{name}/MediaListPlayer.h
- -%{_includedir}/%{name}/MediaPlayer.h
- -%{_includedir}/%{name}/MetaManager.h
- -%{_includedir}/%{name}/SharedExportCore.h
- -%{_includedir}/%{name}/Video.h
- -%{_includedir}/%{name}/VideoDelegate.h
- -%{_includedir}/%{name}/VideoFrame.h
- -%{_includedir}/%{name}/VideoMemoryStream.h
- +%{_includedir}/%{name}/*.h
- -%define libvlcqtwdt_major 0.9
- -%define libvlcqtwdt %mklibname vlc-qt-widgets %{libvlcqtwdt_major}
- +#----------------------------------------------------------------------------
- -%package -n %{libvlcqtwdt}
- +%define libvlcqtwdt_major 0.9
- +%define libvlcqtwdt %mklibname %{name}-widgets %{libvlcqtwdt_major}
- +
- +%package -n %{libvlcqtwdt}
- Summary: A simple library to connect Qt application with libvlc (widgets)
- Group: System/Libraries
- @@ -85,39 +73,35 @@
- This package contains vlc-qt widgets library.
- %files -n %{libvlcqtwdt}
- -%{_libdir}/libvlc-qt-widgets.so.%{libvlcqtwdt_major}*
- +%{_libdir}/libvlc-qt-widgets.so.%{libvlcqtwdt_major}
- +%{_libdir}/libvlc-qt-widgets.so.%{libvlcqtwdt_major}.*
- #----------------------------------------------------------------------------
- -%define devvlcqtwdt %mklibname vlc-qt-widgets -d
- +%define devvlcqtwdt %mklibname %{name}-widgets -d
- -%package -n %{devvlcqtwdt}
- +%package -n %{devvlcqtwdt}
- Summary: Headers and development libraries for vlc-qt widgets library
- Group: Development/C++
- -Requires: %{libvlcqt} = %{version}
- -Requires: %{libvlcqtwdt} = %{version}
- -Requires: %{devvlcqt} = %{version}
- -Provides: %{name}-widgets-devel = %{EVRD}
- +Requires: %{libvlcqt} = %{version}-%{release}
- +Requires: %{libvlcqtwdt} = %{version}-%{release}
- +Requires: %{devvlcqt} = %{version}-%{release}
- +Provides: %{name}-widgets-devel = %{version}-%{release}
- %description -n %{devvlcqtwdt}
- Headers and development libraries for vlc-qt widgets library.
- %files -n %{devvlcqtwdt}
- -#%{_libdir}/pkgconfig/libvlc-qt-widgets.pc
- %{_libdir}/libvlc-qt-widgets.so
- -%{_includedir}/%{name}/ControlAudio.h
- -%{_includedir}/%{name}/ControlVideo.h
- -%{_includedir}/%{name}/SharedExportWidgets.h
- -%{_includedir}/%{name}/WidgetSeek.h
- -%{_includedir}/%{name}/WidgetVideo.h
- -%{_includedir}/%{name}/WidgetVolumeSlider.h
- +%{_includedir}/%{name}/*.h
- #----------------------------------------------------------------------------
- %prep
- %setup -q
- -%patch0 -p1
- +%apply_patches
- +
- %build
- %cmake \
- -DWITH_WIDGETS:BOOL=ON \
- @@ -127,5 +111,3 @@
- %install
- %makeinstall_std -C build
- -
- -%changelog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement