totem/totem.spec

317 lines
9.8 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1)
Name: totem
Version: 43.1
Release: 1mamba
Summary: A movie player based on GStreamer
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org/
Source: https://download.gnome.org/sources/totem/%{majver}/totem-%{version}.tar.xz
Patch0: totem-3.20.1-x86-uint64.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgrilo-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk3-devel
BuildRequires: libhandy-devel
BuildRequires: libpango-devel
BuildRequires: libpeas1-devel
BuildRequires: libportal-devel
BuildRequires: libportal-gtk3
BuildRequires: libtotem-pl-parser-devel
## AUTOBUILDREQ-END
BuildRequires: pylint
BuildRequires: libepc-devel
BuildRequires: libcogl-devel >= 0.16
BuildRequires: gnome-desktop-devel >= 43
Requires: libtotem = %{?epoch:%epoch:}%{version}-%{release}
Requires: gnome-icon-theme-symbolic
%description
A movie player based on GStreamer.
%package -n libtotem
Summary: Libraries provided by totem, a movie player based on GStreamer
Group: System/Libraries
%description -n libtotem
Libraries provided by totem, a movie player based on GStreamer.
%package -n libtotem-devel
Summary: Development package for %{name}
Group: Applications/Development
Requires: libtotem = %{?epoch:%epoch:}%{version}-%{release}
%description -n libtotem-devel
A movie player based on GStreamer.
This package contains static libraries and headers for development.
%package mozilla-plugin
Summary: Totem plugins for Mozilla
Group: Applications/Multimedia
Requires: libtotem = %{?epoch:%epoch:}%{version}-%{release}
Requires: gnome-icon-theme-symbolic
%description mozilla-plugin
A movie player based on GStreamer.
%package nautilus
Summary: Totem extension for Nautilus
Group: Graphical Desktop/Applications/Multimedia
%description nautilus
Totem extension for Nautilus.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas
fi
:
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas
fi
:
%post -n libtotem
if [ $1 -ge 1 ]; then
/sbin/ldconfig
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
exit 0
%postun -n libtotem
if [ $1 -eq 0 ] ; then
/sbin/ldconfig
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/totem
%{_bindir}/totem-video-thumbnailer
%{_datadir}/GConf/gsettings/opensubtitles.convert
%{_datadir}/GConf/gsettings/pythonconsole.convert
%{_datadir}/GConf/gsettings/totem.convert
%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
%{_datadir}/applications/org.gnome.Totem.desktop
%{_datadir}/dbus-1/services/org.gnome.Totem.service
%{_datadir}/glib-2.0/schemas/org.gnome.totem.*.xml
%{_datadir}/thumbnailers/totem.thumbnailer
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/icons/hicolor/symbolic/apps/*.svg
%{_mandir}/man1/totem.1*
%{_mandir}/man1/totem-video-thumbnailer.1*
%dir %{_datadir}/help/*/totem
%{_datadir}/help/*/totem/*
%files -n libtotem
%defattr(-,root,root)
%{_libdir}/libtotem.so.*
%dir %{_libdir}/totem/plugins
%{_libdir}/totem/plugins/*
%{_libdir}/girepository-1.0/Totem-1.0.typelib
%{_libexecdir}/totem-gallery-thumbnailer
%doc AUTHORS COPYING
%files -n libtotem-devel
%defattr(-,root,root)
%dir %{_includedir}/totem
%{_includedir}/totem/*
%{_libdir}/libtotem.so
%{_datadir}/gir-1.0/Totem-1.0.gir
%{_libdir}/pkgconfig/totem.pc
#%doc ChangeLog ChangeLog.pre-gitlog NEWS README TODO
#%files nautilus
#%defattr(-,root,root)
#%{_libdir}/nautilus/extensions-3.*/libtotem-properties-page.*
%files mozilla-plugin
%defattr(-,root,root)
#%{_libdir}/mozilla/plugins/libtotem-*
#%files apidocs
#%defattr(-,root,root)
#%dir %{_datadir}/gtk-doc/html/%{name}
#%{_datadir}/gtk-doc/html/%{name}/*
%changelog
* Wed Oct 23 2024 Automatic Build System <autodist@openmamba.org> 43.1-1mamba
- automatic version update by autodist
* Sat Nov 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0-2mamba
- rebuilt with gnome-desktop 43
* Mon Sep 19 2022 Automatic Build System <autodist@mambasoft.it> 43.0-1mamba
- automatic version update by autodist
* Fri May 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 42.0-1mamba
- update to 42.0
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 3.38.2-1mamba
- automatic version update by autodist
* Thu Jun 17 2021 Automatic Build System <autodist@mambasoft.it> 3.38.1-1mamba
- automatic version update by autodist
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
- automatic version update by autodist
* Sun Mar 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.34.1-3mamba
- rebuilt with gnome-desktop 3.36.0
* Wed Nov 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.34.1-2mamba
- rebuilt with gnome-desktop 3.34.1
* Sun Oct 06 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
- automatic version update by autodist
* Fri Sep 20 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
- automatic version update by autodist
* Sat Aug 17 2019 Automatic Build System <autodist@mambasoft.it> 3.32.1-1mamba
- automatic version update by autodist
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
- automatic version update by autodist
* Fri Aug 17 2018 Automatic Build System <autodist@mambasoft.it> 3.26.2-1mamba
- automatic version update by autodist
* Fri Aug 11 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist
* Wed Mar 08 2017 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0-1mamba
- automatic version update by autodist
* Wed May 18 2016 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
- automatic version update by autodist
* Thu Dec 03 2015 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
- automatic version update by autodist
* Thu May 21 2015 Automatic Build System <autodist@mambasoft.it> 3.14.3-1mamba
- automatic update by autodist
* Sat Jan 31 2015 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic update by autodist
* Fri Nov 21 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Mon Nov 03 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Sun Aug 24 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
- automatic update by autodist
* Wed Apr 30 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
- automatic version update by autodist
* Wed Apr 09 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.1-2mamba
- rebuilt with libcogl 0.16
* Sat Nov 02 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-2mamba
- rebuilt with libcogl 0.14.0 and gnome-desktop 3.8.0
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
- automatic version update by autodist
* Sat Nov 03 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Tue Aug 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-5mamba
- require gnome-icon-theme-symbolic
* Tue Aug 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-4mamba
- new build requirements: pylint, libepc and libgrilo
* Tue Aug 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-3mamba
- compile schemas after install
* Sun Aug 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.3-2mamba
- rebuilt with recent libcogl and libclutter
* Wed Jul 04 2012 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic version update by autodist
* Tue May 15 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic version update by autodist
* Wed Apr 04 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Sat Nov 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- update to 3.2.1
* Tue May 03 2011 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic update by autodist
* Fri Apr 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
- package created by autospec