1 | Summary: The MATE Settings daemon |
---|
2 | Name: mate-settings-daemon |
---|
3 | Version: 1.1.0 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: System Environment/Daemons |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-conf-devel |
---|
12 | BuildRequires: mate-desktop-devel |
---|
13 | BuildRequires: libmatenotify-devel |
---|
14 | BuildRequires: libmatekbd-devel |
---|
15 | BuildRequires: gtk2-devel |
---|
16 | BuildRequires: dbus-glib-devel |
---|
17 | BuildRequires: libSM-devel |
---|
18 | BuildRequires: libXxf86misc-devel |
---|
19 | BuildRequires: polkit-devel |
---|
20 | BuildRequires: nss-devel |
---|
21 | BuildRequires: gtk-doc |
---|
22 | BuildRequires: autoconf |
---|
23 | BuildRequires: automake |
---|
24 | |
---|
25 | Requires(post,pre,preun): mate-conf |
---|
26 | Requires(post,postun): desktop-file-utils |
---|
27 | |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: Takemikaduchi |
---|
33 | |
---|
34 | |
---|
35 | %description |
---|
36 | |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development tools for mate-settings-daemon |
---|
40 | Summary(ja): mate-settings-daemon の開発環境 |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: pkgconfig |
---|
44 | |
---|
45 | %description devel |
---|
46 | Header files and libraries for building a extension library for the |
---|
47 | mate-settings-daemon. |
---|
48 | |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | |
---|
53 | |
---|
54 | %build |
---|
55 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
56 | %configure \ |
---|
57 | --libexecdir=%{_libexecdir}/mate \ |
---|
58 | --disable-static \ |
---|
59 | --disable-scrollkeeper |
---|
60 | |
---|
61 | %{__make} %{?_smp_mflags} |
---|
62 | |
---|
63 | |
---|
64 | %install |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
69 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
70 | |
---|
71 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
72 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
73 | |
---|
74 | %find_lang %{name} |
---|
75 | |
---|
76 | |
---|
77 | %clean |
---|
78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
79 | |
---|
80 | |
---|
81 | %post |
---|
82 | /sbin/ldconfig |
---|
83 | |
---|
84 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
85 | |
---|
86 | SCHEMAS=" \ |
---|
87 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
88 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
89 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
90 | desktop_mate_font_rendering.schemas \ |
---|
91 | desktop_mate_keybindings.schemas \ |
---|
92 | desktop_mate_peripherals_smartcard.schemas \ |
---|
93 | desktop_mate_peripherals_touchpad.schemas \ |
---|
94 | mate-settings-daemon.schemas" |
---|
95 | for S in $SCHEMAS; do |
---|
96 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
97 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
98 | |
---|
99 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
100 | touch --no-create %{_datadir}/icons/hicolor |
---|
101 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
102 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
103 | fi |
---|
104 | |
---|
105 | %pre |
---|
106 | if [ "$1" -gt 1 ]; then |
---|
107 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
108 | |
---|
109 | SCHEMAS=" \ |
---|
110 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
111 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
112 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
113 | desktop_mate_font_rendering.schemas \ |
---|
114 | desktop_mate_keybindings.schemas \ |
---|
115 | desktop_mate_peripherals_smartcard.schemas \ |
---|
116 | desktop_mate_peripherals_touchpad.schemas \ |
---|
117 | mate-settings-daemon.schemas" |
---|
118 | for S in $SCHEMAS; do |
---|
119 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
120 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
121 | fi |
---|
122 | |
---|
123 | %preun |
---|
124 | if [ "$1" -eq 0 ]; then |
---|
125 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
126 | |
---|
127 | SCHEMAS=" \ |
---|
128 | apps_mate_settings_daemon_housekeeping.schemas \ |
---|
129 | apps_mate_settings_daemon_keybindings.schemas \ |
---|
130 | apps_mate_settings_daemon_xrandr.schemas \ |
---|
131 | desktop_mate_font_rendering.schemas \ |
---|
132 | desktop_mate_keybindings.schemas \ |
---|
133 | desktop_mate_peripherals_smartcard.schemas \ |
---|
134 | desktop_mate_peripherals_touchpad.schemas \ |
---|
135 | mate-settings-daemon.schemas" |
---|
136 | for S in $SCHEMAS; do |
---|
137 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
138 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
139 | fi |
---|
140 | |
---|
141 | %postun |
---|
142 | /sbin/ldconfig |
---|
143 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
144 | touch --no-create %{_datadir}/icons/hicolor |
---|
145 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
146 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
147 | fi |
---|
148 | |
---|
149 | |
---|
150 | %files -f %{name}.lang |
---|
151 | %defattr(-,root,root,-) |
---|
152 | %doc COPYING ChangeLog NEWS README |
---|
153 | %{_sysconfdir}/dbus-1/system.d/org.mate.SettingsDaemon.DateTimeMechanism.conf |
---|
154 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_housekeeping.schemas |
---|
155 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_keybindings.schemas |
---|
156 | %{_sysconfdir}/mateconf/schemas/apps_mate_settings_daemon_xrandr.schemas |
---|
157 | %{_sysconfdir}/mateconf/schemas/desktop_mate_font_rendering.schemas |
---|
158 | %{_sysconfdir}/mateconf/schemas/desktop_mate_keybindings.schemas |
---|
159 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_smartcard.schemas |
---|
160 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_touchpad.schemas |
---|
161 | %{_sysconfdir}/mateconf/schemas/mate-settings-daemon.schemas |
---|
162 | %{_sysconfdir}/xdg/autostart/mate-settings-daemon.desktop |
---|
163 | %{_libdir}/%{name}-%{version} |
---|
164 | %{_libexecdir}/mate/mate-settings-daemon |
---|
165 | %{_libexecdir}/mate/gsd-locate-pointer |
---|
166 | %{_libexecdir}/mate/gsd-datetime-mechanism |
---|
167 | %{_datadir}/dbus-1/services/org.mate.SettingsDaemon.service |
---|
168 | %{_datadir}/dbus-1/system-services/org.mate.SettingsDaemon.DateTimeMechanism.service |
---|
169 | %{_datadir}/icons/mate/*/*/* |
---|
170 | %{_datadir}/%{name} |
---|
171 | %{_datadir}/mate-control-center/keybindings/50-accessibility.xml |
---|
172 | %{_datadir}/polkit-1/actions/org.mate.settingsdaemon.datetimemechanism.policy |
---|
173 | |
---|
174 | %files devel |
---|
175 | %defattr(-,root,root,-) |
---|
176 | %{_includedir}/mate-settings-daemon |
---|
177 | %{_libdir}/pkgconfig/mate-settings-daemon.pc |
---|
178 | |
---|
179 | |
---|
180 | %changelog |
---|
181 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
182 | - change category |
---|
183 | |
---|
184 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
185 | - initial build for Vine Linux |
---|
186 | |
---|