]>
Commit | Line | Data |
---|---|---|
e0b99e3b ER |
1 | # TODO |
2 | # - do implicit list of deps? | |
3 | #mate-settings-daemon-1.5.4-0.2.i686 marks libmatekbd-1.5.0-0.1.i686 (cap libmatekbd.so.4) | |
4 | #mate-settings-daemon-1.5.4-0.2.i686 marks libmatenotify-1.5.0-0.1.i686 (cap libmatenotify.so.1) | |
5 | ||
6 | Summary: MATE Desktop settings daemon | |
7 | Name: mate-settings-daemon | |
9b8a04c2 | 8 | Version: 1.5.5 |
811cc4b9 | 9 | Release: 1 |
e0b99e3b ER |
10 | License: GPL v2+ |
11 | Group: X11/Applications | |
e0b99e3b | 12 | Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz |
9b8a04c2 | 13 | # Source0-md5: d0c02b1a8cee205bccf1bd237d21d82a |
22dab0b7 ER |
14 | URL: http://wiki.mate-desktop.org/mate-settings-daemon |
15 | BuildRequires: dbus-glib-devel >= 0.74 | |
9382b874 | 16 | BuildRequires: gettext-devel |
22dab0b7 | 17 | BuildRequires: glib2-devel >= 1:2.17.3 |
9b8a04c2 | 18 | BuildRequires: gtk+2-devel >= 2:2.24.0 |
22dab0b7 ER |
19 | BuildRequires: intltool >= 0.37.1 |
20 | BuildRequires: libmatekbd-devel | |
21 | BuildRequires: libmatenotify-devel | |
22 | BuildRequires: libxklavier-devel | |
e0b99e3b | 23 | BuildRequires: mate-common |
9b8a04c2 | 24 | BuildRequires: mate-desktop-devel >= 1.5.0 |
22dab0b7 | 25 | BuildRequires: nss-devel |
e0b99e3b | 26 | #BuildRequires: pkgconfig(clutter-gst-1.0) |
22dab0b7 | 27 | #BuildRequires: pkgconfig(mate-conf) |
9b8a04c2 ER |
28 | BuildRequires: polkit-devel >= 0.97 |
29 | BuildRequires: pulseaudio-devel >= 0.9.16 | |
e0b99e3b | 30 | BuildRequires: rpmbuild(macros) >= 1.596 |
adba3799 | 31 | BuildRequires: tar >= 1:1.22 |
22dab0b7 | 32 | BuildRequires: xorg-lib-libSM-devel |
adba3799 | 33 | BuildRequires: xz |
e0b99e3b ER |
34 | Requires: glib2 >= 1:2.26.0 |
35 | Requires: gsettings-desktop-schemas | |
36 | Requires: gtk-update-icon-cache | |
37 | Requires: mate-icon-theme | |
38 | Requires(post,postun): /sbin/ldconfig | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | # makefiles and this spec gets confused if %{_libdir} == %{_libexecdir} | |
42 | # so we setup separate --libexecdir=%{_libdir}/msd | |
43 | %define _libexecdir %{_libdir}/msd | |
44 | ||
45 | %description | |
46 | MATE Desktop settings daemon | |
47 | ||
48 | %package devel | |
49 | Summary: Development files for mate-settings-daemon | |
50 | Group: Development/Libraries | |
51 | Requires: %{name} = %{version}-%{release} | |
52 | ||
53 | %description devel | |
54 | Development files for mate-settings-daemon | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | NOCONFIGURE=1 ./autogen.sh | |
61 | %configure \ | |
9b8a04c2 | 62 | --disable-silent-rules \ |
e0b99e3b ER |
63 | --disable-static \ |
64 | --with-x \ | |
65 | --enable-gstreamer \ | |
66 | --enable-polkit \ | |
67 | --disable-schemas-compile \ | |
68 | --with-gnu-ld \ | |
69 | --with-x \ | |
70 | --with-nssdb \ | |
71 | ||
9b8a04c2 | 72 | %{__make} |
e0b99e3b ER |
73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | %{__make} install -j1 \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
9b8a04c2 ER |
79 | # mate < 1.5 did not exist in pld, avoid dependency on mate-conf |
80 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/mate-settings-daemon.convert | |
81 | ||
22dab0b7 | 82 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
e0b99e3b ER |
83 | |
84 | %find_lang %{name} | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post | |
90 | /sbin/ldconfig | |
91 | %update_icon_cache mate | |
92 | %glib_compile_schemas | |
93 | ||
94 | %postun | |
95 | /sbin/ldconfig | |
96 | %update_icon_cache mate | |
97 | if [ "$1" -eq 0 ]; then | |
98 | %glib_compile_schemas | |
99 | fi | |
100 | ||
101 | %files -f %{name}.lang | |
102 | %defattr(644,root,root,755) | |
103 | %doc AUTHORS COPYING README | |
104 | /etc/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf | |
105 | %{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop | |
106 | %attr(755,root,root) %{_libdir}/mate-settings-daemon | |
107 | %dir %{_libexecdir} | |
108 | %attr(755,root,root) %{_libexecdir}/mate-settings-daemon | |
109 | %attr(755,root,root) %{_libexecdir}/msd-datetime-mechanism | |
110 | %attr(755,root,root) %{_libexecdir}/msd-locate-pointer | |
111 | %{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service | |
112 | %{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service | |
811cc4b9 | 113 | %{_iconsdir}/mate/*/*/*.* |
e0b99e3b ER |
114 | %{_datadir}/mate-settings-daemon |
115 | %{_datadir}/glib-2.0/schemas/org.mate.*.xml | |
116 | %{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy | |
117 | ||
e0b99e3b ER |
118 | %files devel |
119 | %defattr(644,root,root,755) | |
22dab0b7 | 120 | %{_includedir}/mate-settings-daemon |
e0b99e3b | 121 | %{_pkgconfigdir}/mate-settings-daemon.pc |