gnome-packagekit/gnome-packagekit.spec

256 lines
9.3 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: gnome-packagekit
Version: 3.32.0
Release: 1mamba
Summary: A collection of graphical tools for PackageKit to be used in the GNOME desktop
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.packagekit.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/gnome-packagekit/%{majver}/gnome-packagekit-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: PackageKit-glib-devel
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libatk-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcanberra-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libgudev-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libnotify-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpolkit-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel
BuildRequires: libtdb-devel
BuildRequires: libthai-devel
BuildRequires: libudev-devel
BuildRequires: libvorbis-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: PackageKit-glib-devel >= 0.9
Provides: packagekitgui
Requires: polkit-gnome
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
gnome-packagekit is a collection of graphical tools for PackageKit to be used in the GNOME desktop.
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install
#mv %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \
# %{buildroot}%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service.gnome-packagekit
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
/usr/sbin/update-alternatives --install \
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service \
org.freedesktop.PackageKit.service \
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service.gnome-packagekit 30
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null
fi
exit 0
%preun
if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove \
org.freedesktop.PackageKit.service \
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service.gnome-packagekit
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null
fi
exit 0
%posttrans
# Fix an upgrade problem: alternatives removed from preun script
if [ $1 -eq 1 ]; then
/usr/sbin/update-alternatives --install %{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service org.freedesktop.PackageKit.service %{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service.gnome-packagekit 30
/usr/sbin/update-alternatives --auto org.freedesktop.PackageKit.service
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gpk-*
#%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service.gnome-packagekit
#%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/gpk-pk-gtk-module.desktop
%{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate
%{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml
#%{python_sitearch}/packagekit
%dir %{_datadir}/gnome-packagekit
%{_datadir}/gnome-packagekit/*
%{_datadir}/applications/org.gnome.PackageUpdater.desktop
%{_datadir}/applications/org.gnome.Packages.desktop
%{_datadir}/metainfo/org.gnome.PackageUpdater.appdata.xml
%{_datadir}/metainfo/org.gnome.Packages.appdata.xml
%{_datadir}/applications/gpk-*.desktop
%{_datadir}/icons/hicolor
#%dir %{_datadir}/help/C/gnome-packagekit
#%{_datadir}/help/C/gnome-packagekit/*
#%lang(de) %dir %{_datadir}/help/de/gnome-packagekit
#%lang(de) %{_datadir}/help/de/gnome-packagekit/*
#%lang(el) %dir %{_datadir}/help/el/gnome-packagekit
#%lang(el) %{_datadir}/help/el/gnome-packagekit/*
#%lang(es) %dir %{_datadir}/help/es/gnome-packagekit
#%lang(es) %{_datadir}/help/es/gnome-packagekit/*
#%lang(fr) %dir %{_datadir}/help/fr/gnome-packagekit
#%lang(fr) %{_datadir}/help/fr/gnome-packagekit/*
#%lang(gl) %dir %{_datadir}/help/gl/gnome-packagekit
#%lang(gl) %{_datadir}/help/gl/gnome-packagekit/*
#%lang(oc) %dir %{_datadir}/help/oc/gnome-packagekit
#%lang(oc) %{_datadir}/help/oc/gnome-packagekit/*
#%lang(pa) %dir %{_datadir}/help/pa/gnome-packagekit
#%lang(pa) %{_datadir}/help/pa/gnome-packagekit/*
#%lang(pl) %dir %{_datadir}/help/pl/gnome-packagekit
#%lang(pl) %{_datadir}/help/pl/gnome-packagekit/*
#%lang(pt_BR) %{_datadir}/help/pt_BR/gnome-packagekit/*
#%lang(ru) %{_datadir}/help/ru/gnome-packagekit/*
#%lang(sl) %dir %{_datadir}/help/sl/gnome-packagekit
#%lang(sl) %{_datadir}/help/sl/gnome-packagekit/*
#%lang(sv) %dir %{_datadir}/help/sv/gnome-packagekit
#%lang(sv) %{_datadir}/help/sv/gnome-packagekit/*
#%lang(zh_CN) %dir %{_datadir}/help/zh_CN/gnome-packagekit
#%lang(zh_CN) %{_datadir}/help/zh_CN/gnome-packagekit/*
#%{_datadir}/omf/gnome-packagekit/gnome-packagekit*.omf
%{_mandir}/man1/gpk-*.1.gz
%doc AUTHORS COPYING
# ChangeLog NEWS README TODO
%changelog
* Thu Mar 14 2019 Automatic Build System <autodist@mambasoft.it> 3.32.0-1mamba
- automatic version update by autodist
* Tue Sep 11 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
- automatic version update by autodist
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 3.28.0-1mamba
- automatic version update by autodist
* Sat Sep 09 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
- automatic version update by autodist
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.0-2mamba
- make dbus packagekit alternative lower than apper
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Fri Aug 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.0-2mamba
- rebuilt with PackageKit 0.9.5
* Fri May 01 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Thu Nov 13 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic update by autodist
* Fri Sep 26 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Mon May 12 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
- automatic version update by autodist
* Fri Apr 11 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
- automatic version update by autodist
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Fri May 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-2mamba
- python 2.7 mass rebuild
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Wed Mar 06 2013 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Mon May 14 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Tue Dec 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- update to 3.2.1
* Sun Sep 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-2mamba
- fix schema path passed to glib-compile-schemas; provide packagekitgui
* Fri Jul 22 2011 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic update to 3.0.3.0 by autodist
* Wed Apr 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-2mamba
- fixed a typo in postun script
* Sun Apr 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
- update to 3.0.0
* Sat Mar 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.0-3mamba
- configure as alternative for dbus PackageKit service; give higher priority that kpackagekit until the latter works
* Wed Jan 12 2011 Automatic Build System <autodist@mambasoft.it> 2.32.0-2mamba
- automatic update by autodist
* Thu Dec 02 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Mon Jul 26 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
- update to 2.30.3
* Wed Jun 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.2-1mamba
- package created by autospec