Projects
Multimedia
bino
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 25
View file
bino.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sat Nov 7 23:03:37 UTC 2015 - avvissu@yandex.ru + +- Build with qt5 on openSUSE 42.1: add %%Leap_verSP +- Add language packs +- Add %%icon_theme_cache_post(un) +- Add %%info_{add,del} instead of %%install_info + +------------------------------------------------------------------- Tue May 19 00:00:00 UTC 2015 - avvissu@yandex.ru - Fix build on openSUSE > 13.2: use -fPIC instead of -fPIE
View file
bino.spec
Changed
@@ -18,11 +18,12 @@ # -%if 0%{?suse_version} > 1210 -%define with_equalizer 1 -%if 0%{?suse_version} > 1320 -%define with_qt5 1 +%bcond_without equalizer +%if 0%{?suse_version} == 1315 && 0%{?is_opensuse} +%define Leap_verSP 4210 %endif +%if 0%{?Leap_verSP} == 4210 || 0%{?suse_version} > 1320 +%bcond_without qt5 %endif Name: bino Version: 1.6.1 @@ -44,7 +45,7 @@ BuildRequires: texinfo BuildRequires: update-desktop-files BuildRequires: xz -BuildRequires: pkgconfig(glew) >= 1.6.0 +BuildRequires: pkgconfig(glewmx) >= 1.6.0 BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) @@ -52,16 +53,21 @@ BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(openal) -%if 0%{?with_equalizer} -BuildRequires: pkgconfig(Equalizer) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) -%if 0%{?with_qt5} +%if %{with equalizer} +BuildRequires: pkgconfig(Equalizer) +%endif +%if %{with qt5} +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5OpenGL) %else +BuildRequires: pkgconfig(QtCore) +BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtOpenGL) %endif -%endif Requires: %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -71,6 +77,8 @@ * support for multi-display video, e.g. for powerwalls, Virtual Reality installations and other multi-projector setups. +%lang_package + %prep %setup -q @@ -94,10 +102,10 @@ %configure \ --disable-silent-rules \ - %if 0%{?with_equalizer} - --with-equalizer \ + %if !%{with equalizer} + --without-equalizer \ %endif - %if 0%{?with_qt5} + %if %{with qt5} --with-qt-version=5 %endif @@ -112,21 +120,28 @@ %find_lang "%{name}" || echo -n >"%{name}.lang" %post +%icon_theme_cache_post %desktop_database_post -%install_info --info-dir="%{_infodir}" "%{_infodir}/bino".info* +%info_add %{name}.info %postun +%icon_theme_cache_postun %desktop_database_postun -%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/bino".info* +if [ $1 = 0 ]; then + %info_del %{name}.info +fi -%files -f "%{name}.lang" +%files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %doc doc/*.html doc/*.jpg doc/*.png %{_bindir}/bino -%doc %{_mandir}/man1/bino.1%{ext_man} -%doc %{_infodir}/bino.info%{ext_info} %{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/*/*/apps/bino.* +%{_datadir}/icons/*/*/apps/%{name}.* +%{_mandir}/man1/bino.1%{ext_man} +%{_infodir}/bino.info%{ext_info} + +%files lang -f "%{name}.lang" +%defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.