-
-
Save ntadej/d233c694ec4ed6344c13cff384eac552 to your computer and use it in GitHub Desktop.
VLC-Qt Spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: vlc-qt | |
Version: 1.1.0 | |
Release: 1%{?dist} | |
Summary: Free library used to connect Qt and libvlc libraries | |
URL: https://vlc-qt.tano.si/ | |
License: LGPLv3 | |
Source0: https://github.com/vlc-qt/vlc-qt/archive/feature/gnuinstalldirs.tar.gz | |
BuildRequires: cmake | |
BuildRequires: qt5-qtbase-devel | |
BuildRequires: qt5-qtdeclarative-devel | |
BuildRequires: vlc-devel | |
BuildRequires: doxygen | |
%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. | |
VLC-Qt is free (libre) software. This means that the library | |
source code is available to public, anyone is welcome to research | |
how the library works, participate in its development, freely | |
distribute the library and spread the word! | |
VLC-Qt runs on Linux and Windows, other operating systems are | |
currently not supported. | |
%package devel | |
Summary: Devel libraries for %{name} | |
Group: Development/Libraries | |
Requires: %{name}%{?_isa} = %{version}-%{release} | |
%description devel | |
Files needed to build applications based on %{name} | |
%package doc | |
Summary: Documentation files for %{name} | |
Group: Documentation | |
BuildArch: noarch | |
%description doc | |
The %{name}-doc package contains html documentation | |
that use %{name}. | |
%prep | |
%setup -q | |
# remove debian and scripts | |
rm -rf debian | |
rm -rf scripts | |
%build | |
%cmake . \ | |
-DSYSTEM_QML:BOOL=ON \ | |
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} | |
make %{?_smp_mflags} | |
# build docs | |
pushd docs | |
doxygen | |
popd | |
%install | |
%make_install | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%files | |
%license LICENSE.md | |
%doc README.md | |
%{_qt5_libdir}/libVLCQt*.so.* | |
%dir %{_qt5_libdir}/cmake/VLCQt/ | |
%{_qt5_libdir}/cmake/VLCQt/VLCQt*.cmake | |
%{_qt5_libdir}/qt5/qml/VLCQt/libVLCQt.so | |
%{_qt5_libdir}/qt5/qml/VLCQt/libVLCQt.so.1.1 | |
%{_qt5_libdir}/qt5/qml/VLCQt/libVLCQt.so.1.1.0 | |
%{_qt5_libdir}/qt5/qml/VLCQt/qmldir | |
%dir %{_qt5_libdir}/qt5/qml/VLCQt/ | |
%files devel | |
%license LICENSE.md | |
%doc README.md | |
%{_qt5_libdir}/libVLCQtCore.so | |
%{_qt5_libdir}/libVLCQtQml.so | |
%{_qt5_libdir}/libVLCQtWidgets.so | |
%{_qt5_libdir}/pkgconfig/*.pc | |
%dir %{_qt5_libdir}/cmake/VLCQtCore/ | |
%dir %{_qt5_libdir}/cmake/VLCQtQml/ | |
%dir %{_qt5_libdir}/cmake/VLCQtWidgets/ | |
%{_qt5_libdir}/cmake/VLCQtCore/VLCQt*.cmake | |
%{_qt5_libdir}/cmake/VLCQtQml/VLCQt*.cmake | |
%{_qt5_libdir}/cmake/VLCQtWidgets/VLCQt*.cmake | |
%{_includedir}/VLCQt*/ | |
%files doc | |
%doc docs/html | |
%changelog | |
* Mon Jul 11 2016 Martin Gansser <martinkg@fedoraproject.org> - 1.1.0-1 | |
- Update to 1.1.0 | |
- Added %%{name}-%%{version}-CMakeLists.patch | |
* Tue Feb 09 2016 Martin Gansser <martinkg@fedoraproject.org> - 1.0.1-1 | |
- Update to 1.0.1 | |
- Dropped %%{name}-1.0.0-libsuffix.patch | |
* Tue Feb 02 2016 Martin Gansser <martinkg@fedoraproject.org> - 1.0.0-1 | |
- Initial build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment