mate-settings-daemon/mate-settings-daemon.spec

412 lines
15 KiB
RPMSpec
Raw Permalink Normal View History

2015-07-14 05:54:16 +00:00
# Conditional for release and snapshot builds. Uncomment for release-builds.
%global rel_build 1
# This is needed, because src-url contains branched part of versioning-scheme.
2018-02-11 13:12:58 +00:00
%global branch 1.20
2015-07-14 05:54:16 +00:00
# Settings used for build from snapshots.
%{!?rel_build:%global commit 83fe1f587f5c6328b10a899a880275d79bf88921}
%{!?rel_build:%global commit_date 20141215}
%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
2012-10-29 19:50:14 +00:00
Name: mate-settings-daemon
2018-06-03 13:47:12 +00:00
Version: %{branch}.2
2015-07-14 05:54:16 +00:00
%if 0%{?rel_build}
2018-06-03 13:47:12 +00:00
Release: 1%{?dist}
2015-07-14 05:54:16 +00:00
%else
Release: 0.6%{?git_rel}%{?dist}
2015-07-14 05:54:16 +00:00
%endif
2012-10-29 19:50:14 +00:00
Summary: MATE Desktop settings daemon
License: GPLv2+
URL: http://mate-desktop.org
2013-09-22 23:19:59 +00:00
2015-07-14 05:54:16 +00:00
# for downloading the tarball use 'spectool -g -R mate-settings-daemon.spec'
# Source for release-builds.
%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
# Source for snapshot-builds.
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
2013-09-22 23:19:59 +00:00
# fix rhbz (#1140329)
2018-02-11 13:12:58 +00:00
%if 0%{?rhel}
2017-11-29 21:28:32 +00:00
Patch1: mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch
2018-02-11 13:12:58 +00:00
%endif
2018-06-03 13:47:12 +00:00
# xrandr-applet improvements from upstream
Patch2: mate-settings-daemon_0001-xrandr-applet-don-t-hard-code-label-colors-in-menu.patch
Patch3: mate-settings-daemon_0002-xrandr-applet-drop-non-working-bg-from-menu.patch
Patch4: mate-settings-daemon_0003-xrandr-applet-add-a-style-class-for-menuitems.patch
Patch5: mate-settings-daemon_0004-xrandr-applet-popup-add-monitor-icons-to-monitor-lab.patch
Patch6: mate-settings-daemon_0005-xrandr-applet-popup-use-colored-bg-again-in-monitor-.patch
Patch7: mate-settings-daemon_0006-xrandr-applet-popup-add-a-border-to-colored-monitor-.patch
Patch8: mate-settings-daemon_0007-xrandr-applet-popup-allow-themes-to-override-monitor.patch
Patch9: mate-settings-daemon_0008-xrandr-fix-indent.patch
Patch10: mate-settings-daemon_0009-xrander-applet-popup-remove-draw-callback.patch
Patch11: mate-settings-daemon_0010-Xrandr-applet-popup-Special-case-the-GNOME-themes-fo.patch
Patch12: mate-settings-daemon_0011-xrandr-applet-popup-handle-Greybird-etc-XFCE-themes.patch
Patch13: mate-settings-daemon_0012-xrandr-applet-popup-show-icon-only-if-menus-have-ico.patch
2013-02-08 22:49:07 +00:00
BuildRequires: dbus-glib-devel
2014-02-10 00:02:12 +00:00
BuildRequires: dconf-devel
BuildRequires: desktop-file-utils
BuildRequires: gtk3-devel
2014-10-27 17:54:10 +00:00
BuildRequires: libmatemixer-devel
BuildRequires: libcanberra-devel
2013-02-08 22:49:07 +00:00
BuildRequires: libmatekbd-devel
2013-03-12 15:32:25 +00:00
BuildRequires: libnotify-devel
2014-02-10 00:02:12 +00:00
BuildRequires: libSM-devel
BuildRequires: libXxf86misc-devel
2012-10-29 19:50:14 +00:00
BuildRequires: mate-common
2013-02-08 22:49:07 +00:00
BuildRequires: mate-desktop-devel
BuildRequires: polkit-devel
2013-02-08 22:49:07 +00:00
BuildRequires: nss-devel
2014-02-10 00:02:12 +00:00
BuildRequires: pulseaudio-libs-devel
Requires: libmatekbd%{?_isa} >= 0:1.6.1-1
# needed for xrandr capplet
Requires: mate-control-center-filesystem
%description
This package contains the daemon which is responsible for setting the
various parameters of a MATE session and the applications that run
under it.
%package devel
2012-10-29 19:50:14 +00:00
Summary: Development files for mate-settings-daemon
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains the daemon which is responsible for setting the
various parameters of a MATE session and the applications that run
under it.
%prep
2018-02-11 13:12:58 +00:00
%if 0%{?rel_build}
%autosetup -p1
%else
%autosetup -n %{name}-%{commit} -p1
%endif
2015-07-14 05:54:16 +00:00
%if 0%{?rel_build}
#NOCONFIGURE=1 ./autogen.sh
%else # 0%{?rel_build}
# for snapshots
# needed for git snapshots
NOCONFIGURE=1 ./autogen.sh
%endif # 0%{?rel_build}
%build
%configure \
--enable-pulse \
--disable-static \
--disable-schemas-compile \
--enable-polkit \
--with-x \
2016-12-03 20:32:08 +00:00
--with-nssdb
2012-09-28 21:39:16 +00:00
2018-02-11 13:12:58 +00:00
make %{?_smp_mflags} V=1
2012-09-28 21:39:16 +00:00
%install
2014-02-18 20:12:48 +00:00
%{make_install}
2013-03-26 09:10:59 +00:00
find %{buildroot} -name '*.la' -exec rm -rf {} ';'
2013-06-28 09:14:52 +00:00
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop
%find_lang %{name} --with-gnome --all-name
2012-09-28 21:39:16 +00:00
2018-03-27 11:16:33 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2012-09-28 21:39:16 +00:00
%files -f %{name}.lang
%doc AUTHORS COPYING README
%dir %{_sysconfdir}/mate-settings-daemon
%dir %{_sysconfdir}/mate-settings-daemon/xrandr
2012-10-29 19:50:14 +00:00
%config %{_sysconfdir}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf
2013-09-22 23:23:22 +00:00
%{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop
2015-01-20 16:26:28 +00:00
%{_sysconfdir}/xrdb/
%{_libdir}/mate-settings-daemon
%{_libexecdir}/mate-settings-daemon
%{_libexecdir}/msd-datetime-mechanism
%{_libexecdir}/msd-locate-pointer
2014-11-20 15:26:50 +00:00
%{_datadir}/mate-control-center/keybindings/50-accessibility.xml
%{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service
%{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service
2012-09-28 21:39:16 +00:00
%{_datadir}/icons/mate/*/*/*
2015-12-04 22:26:31 +00:00
%{_datadir}/icons/hicolor/*/*/*
2013-02-08 22:49:07 +00:00
%{_datadir}/mate-settings-daemon
2012-10-29 19:50:14 +00:00
%{_datadir}/glib-2.0/schemas/org.mate.*.xml
%{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy
2015-07-14 05:54:16 +00:00
%{_mandir}/man1/*
%files devel
2013-03-26 09:10:59 +00:00
%{_includedir}/mate-settings-daemon
%{_libdir}/pkgconfig/mate-settings-daemon.pc
2014-11-11 20:51:58 +00:00
%changelog
2018-06-03 13:47:12 +00:00
* Sun Jun 03 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.20.2-1
- update to 1.20.2
- use xrandr-applet improvements from upstream
* Wed Apr 18 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.20.1-2
- improve background handling for HIDPI monitors
- use https://github.com/mate-desktop/mate-settings-daemon/pull/217
2018-03-27 11:16:33 +00:00
* Tue Mar 27 2018 Wolfgang Ulbrich <fedora@raveit.de> - 1.20.1-1
- update to 1.20.1
- drop IconCache rpm scriptlet
2018-02-11 13:12:58 +00:00
* Sun Feb 11 2018 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.20.0-1
- update to 1.20.0 release
- drop GSettings Schema rpm scriplet
- switch to autosetup
- use BR polkit-devel instead of mate-polkit-devel
2018-02-11 13:12:58 +00:00
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-25 16:26:32 +00:00
* Thu Jan 25 2018 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.19.2-1
- update to 1.19.2
2018-01-01 11:52:54 +00:00
* Mon Jan 01 2018 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.19.1-1
- update to 1.19.1
2017-11-29 21:28:32 +00:00
* Wed Nov 29 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.19.0-2
- fix rhbz (#1517547)
2017-08-16 22:37:45 +00:00
* Thu Aug 17 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.19.0-1
- update to 1.19.0 release
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed May 03 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.18.1-2
- add patch to fix xrdb plugin for rhel7 build
2017-04-05 20:44:28 +00:00
* Wed Apr 05 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.18.1-1
- update to 1.18.1
2017-03-14 15:09:01 +00:00
* Tue Mar 14 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.18.0-1
- update to 1.18.0 release
- add https://github.com/mate-desktop/mate-settings-daemon/commit/280c174
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Jan 25 2017 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.17.1-1
- update 1.17.1 to release with libinput support
* Mon Jan 09 2017 Dan Horák <dan[at]danny.cz> - 1.17.0-3
- don't require Xorg drivers on s390(x)
* Fri Dec 23 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.17.0-2
- update to 1.17.0 release
- remove priority synaptic symlink for f26
- use requires xorg-x11-drv-synaptics-legacy for f26
- fix rhbz (#1406948)
2016-12-03 20:32:08 +00:00
* Sat Dec 03 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.17.0-1
- update to 1.17.0 release
- add priority symlinks for synaptics and evdev driver
2016-09-22 06:01:46 +00:00
* Sat Sep 17 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.16.0-1
2016-12-03 20:37:53 +00:00
- update to 1.16.0 release
2016-09-22 06:01:46 +00:00
2016-08-04 15:53:33 +00:00
* Thu Aug 04 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.15.1-1
- update to 1.15.1 release
* Sun Jul 24 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.15.0-2
- fix desktop redraw issues with gtk+-3.21.4
* Thu Jun 09 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.15.0-1
- update to 1.15.0 release
- switch to gtk+3
2016-04-09 10:27:00 +00:00
* Wed Apr 06 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.14.0-1
- update to 1.14.0 release
2016-02-07 17:57:57 +00:00
* Sun Feb 07 2016 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.13.0-1
- update to 1.13.0 release
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-12-04 22:17:25 +00:00
* Fri Dec 04 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> 1.12.1-1
- update to 1.12.1 release
2015-11-06 23:26:59 +00:00
* Fri Nov 06 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.12.0-1
- update to 1.12.0 release
2015-10-21 00:53:19 +00:00
* Wed Oct 21 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.11.0-1
- update to 1.11.0 release
2015-08-31 15:27:42 +00:00
* Mon Aug 31 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.10.2-1
- update to 1.10.2 release
- remove upstreamed patches
- add upstream touchpad improvement
* Wed Aug 19 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.10.1-2
- another fix for glib2/gsettings regression
2015-07-14 05:54:16 +00:00
* Tue Jul 14 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.10.1.1
- update to 1.10.1 release
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-04-07 21:35:35 +00:00
* Tue Apr 07 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.10.0-1
- update to 1.10.0 release
2015-02-26 16:53:57 +00:00
* Thu Feb 26 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.90-1
- update to 1.9.90 release
2015-07-14 05:54:16 +00:00
* Wed Jan 21 2015 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.6-1
2015-01-20 16:25:08 +00:00
- update to 1.9.6 release
2014-11-20 15:33:37 +00:00
* Thu Nov 20 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.5-1
- update to 1.9.5 release
2014-11-11 20:51:58 +00:00
* Tue Nov 11 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.4-1
- update to 1.9.4 release
2014-10-27 17:52:37 +00:00
* Mon Oct 27 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.3-1
- update to 1.9.3 release
2014-10-12 21:35:34 +00:00
* Sun Oct 12 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.2-1
- update to 1.9.2 release
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-12 19:12:25 +00:00
* Sat Jul 12 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.9.1-1
- update to 1.9.1 release
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-06 20:29:31 +00:00
* Tue May 06 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.8.1-1
- update to 1.8.1
2014-03-05 08:52:12 +00:00
* Wed Mar 05 2014 Dan Mashal <dan.mashal@fedoraproject.org> - 1.8.0-1
- Update to 1.8.0
2014-02-18 20:08:12 +00:00
* Tue Feb 18 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.7.90-1
- update to 1.7.90
- use --with-gnome --all-name for find locale
2014-02-18 20:12:48 +00:00
- use modern 'make install' macro
2014-02-18 20:13:36 +00:00
- add man dir
2014-02-18 20:08:12 +00:00
2014-02-10 00:02:12 +00:00
* Sun Feb 09 2014 Dan Mashal <dan.mashal@fedoraproject.org> - 1.7.1-1
- Update to 1.7.1
2013-12-05 12:59:57 +00:00
* Thu Dec 05 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.7.0-1
- Update to 1.7.0
2013-10-03 08:55:47 +00:00
* Thu Oct 03 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.6.2-0.3.gitd2d3aa7
- enable pulsaudio support
* Tue Oct 01 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.6.2-0.2.gitd2d3aa7
- add misssing directory for xrandr-capplet function 'system-wide installation'
- add runtime requires mate-control-center-filesystem for xrandr-capplet
2013-09-22 23:19:59 +00:00
* Mon Sep 23 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.6.2-0.1.gitd2d3aa7
- update to latest snapshot
- fix https://github.com/mate-desktop/mate-settings-daemon/issues/32
- remove runtime require mate-icon-theme, no need of it
2013-09-22 23:23:22 +00:00
- remove %%config from desktop file
2013-09-22 23:24:38 +00:00
- remove needless find '*.a'
- switch to pulseaudio, fix rhbz (#1008011)
2013-09-22 23:27:48 +00:00
- cleanup BRs
2013-09-22 23:19:59 +00:00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 28 2013 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.6.1.2
- remove BR gsettings-desktop-schemas-devel
- remove needless gsettings convert file
2013-06-28 09:10:40 +00:00
- clean up BR's
- add versioned runtime require libmatekbd
2013-06-25 03:32:29 +00:00
* Mon Jun 24 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.6.1-1
- Update to latest upstream release.
* Sat Jun 22 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.6.0-3
- Update libnotify.patch with latest upstream commits
2013-06-11 16:08:05 +00:00
* Tue Jun 11 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.6.0-2
- Add libnotify patch
2013-04-03 13:52:48 +00:00
* Wed Apr 03 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.6.0-1
- Update to latest 1.6.0 stable release.
2013-03-26 09:10:59 +00:00
* Tue Mar 26 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.7-1
- Update to latest upstream release
2013-02-08 22:49:07 +00:00
* Fri Feb 08 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.5-1
-Update to latest upstream release
-Convert back to old BR style
-Own dirs we are supposed to own
2013-01-15 23:12:30 +00:00
* Tue Jan 15 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.4-3
2013-01-15 23:09:19 +00:00
- Fix icon scriptlets
* Fri Dec 21 2012 Nelson Marques <nmarques@fedoraproject.org> - 1.5.4-2
- Fix broken gstreamer support:
+ add gstreamer BuildRequires
+ disable pulse so we build with gstreamer support
- Add '--disable-static' to %%configure and remove find entries
- Improve description, overall readability, order dependencies and
minor improvements
2012-12-03 23:35:57 +00:00
* Mon Dec 03 2012 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.4-1
- Latest upstream release
2012-11-24 16:52:33 +00:00
* Fri Nov 23 2012 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.3-5
- Remove archlinux configure.ac bits.
- REALLY fix CVE-2012-5560
* Fri Nov 23 2012 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.3-4
- stop generating version specific libdirs for plugins and fix CVE-2012-5560
2012-11-23 04:53:04 +00:00
* Thu Nov 22 2012 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.3-3
- fix build failures
2012-11-23 03:47:34 +00:00
* Thu Nov 22 2012 Dan Mashal <dan.mashal@fedoraproject.org> - 1.5.3-2
- drop mate-corba from br as it is deprecated
2012-10-29 19:55:46 +00:00
* Mon Oct 29 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.5.3-1
- update to 1.5.3 release
2012-10-29 19:50:14 +00:00
* Mon Oct 29 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.5.0-1
- update to 1.5.0 release
- add schema scriptlets and remove mateconf scriptlets
- add requires gsettings-desktop-schemas
- add build requires gsettings-desktop-schemas-devel
- change build requires style
2012-10-10 13:13:00 +00:00
* Wed Oct 10 2012 Rex Dieter <rdieter@fedoraproject.org> 1.4.0-6
- fix icon scriptlets
2012-09-28 21:39:16 +00:00
* Fri Sep 28 2012 Rex Dieter <rdieter@fedoraproject.org> - 1.4.0-5
- remove local quirks not needed for fedora buildsys
- simplify %%files, fix some dir-ownership
- cosmetics: move scriptlets to be next to %%files
* Tue Sep 25 2012 Dan Mashal <dan.mashal@fedoraproject.org> 1.4.0-4
- Own mate-settings-daemon directory, update build requires and configure flags
* Tue Sep 25 2012 Dan Mashal <dan.mashal@fedoraproject.org> 1.4.0-3
- Fix mateconf scritplets, switch back to upstream source.
* Sat Sep 15 2012 Dan Mashal <dan.mashal@fedoraproject.org> 1.4.0-2
- Move shared libs to main package and update buildrequires to add libSM-devel add mateconf scriptlets
* Sat Sep 01 2012 Dan Mashal <dan.mashal@fedoraproject.org> 1.4.0-1
- Initial build