88a5c1e
#global _internal_version  cb4d724
816867f
816867f
Name:           cinnamon-settings-daemon
3a5d54f
Version:        2.2.1
3a5d54f
Release:        1%{?dist}
816867f
Summary:        The daemon sharing settings from CINNAMON to GTK+/KDE applications
816867f
816867f
Group:          System Environment/Daemons
816867f
License:        GPLv2+ and LGPLv2+
816867f
URL:            http://cinnamon.linuxmint.com
816867f
# To generate tarball
816867f
# wget https://github.com/linuxmint/cinnamon-settings-daemon/tarball/%%{_internal_version} -O cinnamon-settings-daemon-%%{version}.git%%{_internal_version}.tar.gz
89dcfa6
Source0:        http://leigh123linux.fedorapeople.org/pub/cinnamon-settings-daemon/source/cinnamon-settings-daemon-%{version}.tar.gz
816867f
839f399
Requires:       cinnamon-control-center-filesystem
8c0ba0d
Obsoletes:      cinnamon-settings-daemon-updates
816867f
ccadd78
BuildRequires:  pkgconfig(dbus-glib-1)
ccadd78
BuildRequires:  pkgconfig(cinnamon-desktop)
ccadd78
BuildRequires:  pkgconfig(xxf86misc)
ccadd78
BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
ccadd78
BuildRequires:  pkgconfig(libpulse)
ccadd78
BuildRequires:  pkgconfig(libgnomekbd)
ccadd78
BuildRequires:  pkgconfig(libnotify)
ccadd78
BuildRequires:  pkgconfig(libcanberra)
ccadd78
BuildRequires:  pkgconfig(polkit-agent-1)
ccadd78
BuildRequires:  pkgconfig(libxklavier)
ccadd78
BuildRequires:  pkgconfig(upower-glib)
ccadd78
BuildRequires:  pkgconfig(gudev-1.0)
ccadd78
BuildRequires:  pkgconfig(nss)
ccadd78
BuildRequires:  pkgconfig(colord) >= 0.1.12
ccadd78
BuildRequires:  pkgconfig(lcms2) >= 2.2
ccadd78
BuildRequires:  pkgconfig(libsystemd-login)
ccadd78
BuildRequires:  pkgconfig(xtst)
ccadd78
BuildRequires:  pkgconfig(ibus-1.0)
816867f
BuildRequires:  cups-devel
88a5c1e
BuildRequires:  desktop-file-utils
816867f
BuildRequires:  docbook-style-xsl
ccadd78
BuildRequires:  gnome-common
ccadd78
BuildRequires:  intltool
ccadd78
BuildRequires:  libxslt
816867f
816867f
%description
816867f
A daemon to share settings from CINNAMON to other applications. It also
816867f
handles global keybindings, and many of desktop-wide settings.
816867f
816867f
%package        devel
816867f
Summary:        Development files for %{name}
816867f
Group:          Development/Libraries
816867f
Requires:       %{name}%{?_isa} = %{version}-%{release}
816867f
816867f
Requires:       dbus-glib-devel
816867f
816867f
%description    devel
816867f
This package contains libraries and header files for
816867f
developing applications that use %{name}.
816867f
816867f
%prep
49bebdb
%autosetup -p1
49bebdb
aa1e767
sed -i -e 's@{ACLOCAL_FLAGS}@{ACLOCAL_FLAGS} -I m4@g' Makefile.am
aa1e767
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac
816867f
NOCONFIGURE=1 ./autogen.sh
816867f
816867f
%build
816867f
%configure --disable-static \
816867f
           --enable-profiling \
Rex Dieter c101b29
           --enable-systemd
Rex Dieter c101b29
816867f
make V=1 %{?_smp_mflags}
816867f
816867f
816867f
%install
816867f
%make_install
816867f
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
816867f
88a5c1e
desktop-file-install --delete-original           \
88a5c1e
  --dir $RPM_BUILD_ROOT%{_datadir}/applications  \
88a5c1e
  $RPM_BUILD_ROOT%{_datadir}/applications/*
9593003
816867f
%find_lang %{name} --with-gnome
816867f
816867f
816867f
%post
816867f
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
816867f
816867f
%postun
816867f
if [ $1 -eq 0 ]; then
816867f
  /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
816867f
  /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
816867f
  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
816867f
fi
816867f
816867f
%posttrans
816867f
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
816867f
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
816867f
816867f
816867f
%files -f %{name}.lang
816867f
%doc AUTHORS COPYING
88a5c1e
%config %{_sysconfdir}/dbus-1/system.d/org.cinnamon.SettingsDaemon.DateTimeMechanism.conf
88a5c1e
%{_libdir}/cinnamon-settings-daemon-3.0/
88a5c1e
%{_libexecdir}/cinnamon-settings-daemon
88a5c1e
%{_libexecdir}/csd-backlight-helper
816867f
%{_libexecdir}/csd-datetime-mechanism
816867f
%{_libexecdir}/csd-locate-pointer
816867f
%{_libexecdir}/csd-printer
3a5d54f
%{_libexecdir}/csd-list-wacom
3a5d54f
%{_libexecdir}/csd-wacom-led-helper
88a5c1e
%{_datadir}/applications/cinnamon-settings-daemon.desktop
816867f
%{_datadir}/cinnamon-settings-daemon/
88a5c1e
%{_datadir}/dbus-1/system-services/org.cinnamon.SettingsDaemon.DateTimeMechanism.service
88a5c1e
%{_datadir}/glib-2.0/schemas/org.cinnamon.settings-daemon*.xml
816867f
%{_datadir}/icons/hicolor/*/apps/csd-xrandr.*
88a5c1e
%{_datadir}/polkit-1/actions/org.cinnamon.settings*.policy
88a5c1e
%{_mandir}/man1/cinnamon-settings-daemon.1.*
816867f
816867f
%files devel
816867f
%{_includedir}/cinnamon-settings-daemon-3.0/
816867f
%{_libdir}/pkgconfig/cinnamon-settings-daemon.pc
88a5c1e
%{_libexecdir}/csd-test-*
816867f
%{_datadir}/cinnamon-settings-daemon-3.0/
88a5c1e
816867f
816867f
%changelog
3a5d54f
* Mon Apr 14 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.1-1
3a5d54f
- update to 2.2.1
3a5d54f
3a5d54f
* Sat Apr 12 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
3a5d54f
- update to 2.2.0
3a5d54f
52713f5
* Thu Mar 06 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-5
52713f5
- Fix DPMS issue with Xorg 1.14
52713f5
49bebdb
* Sat Feb 15 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-4
49bebdb
- more logind changes
49bebdb
839f399
* Mon Jan 13 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-3
839f399
- rebuilt
839f399
b837fd7
* Mon Jan 13 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-2
b837fd7
- rebuilt
b837fd7
ede96e4
* Mon Dec 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-1
ede96e4
- update to 2.0.8
ede96e4
21f36eb
* Sun Nov 10 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.7-1
21f36eb
- update to 2.0.7
21f36eb
b89c628
* Sat Nov 09 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.6-5
b89c628
- remove obsolete battery recall code
b89c628
Rex Dieter 25b5581
* Thu Nov 07 2013 Rex Dieter <rdieter@fedoraproject.org> - 2.0.6-4
Rex Dieter 25b5581
- upower breakage (#1026036)
Rex Dieter 25b5581
048c8cb
* Mon Nov 04 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.6-3
048c8cb
- add conditional as f19 glib is too old
048c8cb
0e28707
* Mon Nov 04 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.6-2
0e28707
- patch to add mpris support to media-keys
0e28707
56ccb64
* Sun Nov 03 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.6-1
56ccb64
- update to 2.0.6
56ccb64
08d6932
* Fri Oct 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.5-1
08d6932
- update to 2.0.5
08d6932
d84144e
* Thu Oct 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.4-2
d84144e
- revert background changes made for vbox
d84144e
c5cdf4f
* Thu Oct 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.4-1
c5cdf4f
- update to 2.0.4
c5cdf4f
7201017
* Fri Oct 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.3-1
7201017
- update to 2.0.3
7201017
88a5c1e
* Fri Oct 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.2-1
88a5c1e
- update to 2.0.2
88a5c1e
- sort out files section
88a5c1e
9593003
* Thu Oct 17 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-2
9593003
- Stop cinnamon-fallback-mount-helper starting in gnome-shell
9593003
549c19a
* Wed Oct 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
549c19a
- update to 2.0.1
549c19a
89dcfa6
* Mon Sep 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.9.1-1
89dcfa6
- update to latest 1.9.1
4fb5252
- drop appmenu patch
89dcfa6
ad93c29
* Sat Sep 28 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.15.gitcb4d724
ad93c29
- patch to fix appmenu issue
ad93c29
69e4e55
* Wed Sep 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.14.gitcb4d724
69e4e55
- update to latest git
69e4e55
e27803f
* Sun Aug 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.13.gitaf7fe4d
e27803f
- update to latest git
e27803f
- Change buildrequires to cinnamon-desktop-devel
e27803f
- drop 3.9 patch
7bec07f
- add keyboard branch patch
e27803f
67b9493
* Thu Aug 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.12.gitb8b57d9
67b9493
- redo 3.9 patch for more gnome changes
67b9493
1e4b076
* Thu Aug 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.11.gitb8b57d9
1e4b076
- rebuilt
1e4b076
730cb36
* Mon Aug 12 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.10.gitb8b57d9
730cb36
- update to latest git
730cb36
074c163
* Sat Aug 10 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.9.git50787a1
074c163
- update to latest git
074c163
- drop gsettings patch
074c163
2322930
* Sat Aug 10 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.8.git3f73d50
074c163
- add patch to remove obsolete gsettings for menu and button icon till upstream fixes it
2322930
aa1e767
* Tue Aug 06 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.7.git3f73d50
aa1e767
- update to latest git
aa1e767
- remove dead bits from spec file
aa1e767
c9cef66
* Wed Jul 31 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.6.git6c1f75c
c9cef66
- update to latest git
c9cef66
- drop media key patch
c9cef66
3d5debe
* Wed Jul 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.5.gitd5d8dfa
3d5debe
- change require gnome control-center to cinnamon
3d5debe
c5df221
* Wed Jul 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.4.gitd5d8dfa
48dfbdf
- add patch to fix media keys
c5df221
- update to latest git
48dfbdf
f7ce34b
* Sat Jul 20 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.3.git42cc1ce
f7ce34b
- rebuilt as the koji storage move lost the previous build
f7ce34b
816867f
* Thu Jul 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.2.git42cc1ce
816867f
- add %%config to files
816867f
- fix directory ownership on %%{_libdir}/cinnamon-settings-daemon-3.0
816867f
- remove dead bits from spec file
816867f
816867f
* Sat May 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.1.git42cc1ce
816867f
- Initial build
816867f