[5311] | 1 | Summary: Applets for MATE panel |
---|
| 2 | Name: mate-applets |
---|
| 3 | Version: 1.1.0 |
---|
[5316] | 4 | Release: 2%{?_dist_release} |
---|
[5311] | 5 | Source0: %{name}-%{version}.tar.xz |
---|
| 6 | License: GPLv2 |
---|
[5316] | 7 | Group: User Interface/Desktops |
---|
[5311] | 8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
| 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-doc-utils |
---|
| 12 | BuildRequires: mate-conf-devel |
---|
| 13 | BuildRequires: mate-icon-theme |
---|
| 14 | BuildRequires: mate-panel-devel |
---|
| 15 | BuildRequires: mate-desktop-devel |
---|
| 16 | BuildRequires: mate-settings-daemon-devel |
---|
| 17 | BuildRequires: libmatenotify-devel |
---|
| 18 | BuildRequires: libmateweather-devel |
---|
| 19 | BuildRequires: gtk2-devel |
---|
| 20 | BuildRequires: libSM-devel |
---|
| 21 | BuildRequires: libwnck-devel |
---|
| 22 | BuildRequires: libgtop2-devel |
---|
| 23 | BuildRequires: dbus-devel |
---|
| 24 | BuildRequires: polkit-devel |
---|
| 25 | BuildRequires: NetworkManager-devel |
---|
| 26 | BuildRequires: popt-devel |
---|
| 27 | BuildRequires: gtk-doc |
---|
| 28 | BuildRequires: autoconf |
---|
| 29 | BuildRequires: automake |
---|
| 30 | |
---|
| 31 | Requires(post,pre,preun): mate-conf |
---|
| 32 | Requires(post,postun): desktop-file-utils |
---|
| 33 | |
---|
| 34 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 35 | |
---|
| 36 | Patch0: mate-applets-1.1.0-x-lib.patch |
---|
| 37 | |
---|
| 38 | Vendor: Project Vine |
---|
| 39 | Distribution: Vine Linux |
---|
| 40 | Packager: Takemikaduchi |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %description |
---|
| 44 | MATE (GNU Network Object Model Environment) is a user-friendly |
---|
| 45 | set of applications and desktop tools to be used in conjunction with a |
---|
| 46 | window manager for the X Window System. MATE is similar in purpose and |
---|
| 47 | scope to CDE and KDE, but MATE is based completely on Open Source |
---|
| 48 | software. The mate-applets package provides Panel applets which |
---|
| 49 | enhance your MATE experience. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %prep |
---|
| 53 | %setup -q |
---|
| 54 | %patch0 -p1 -b .xlib |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %build |
---|
| 58 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 59 | %configure \ |
---|
| 60 | --libexecdir=%{_libexecdir}/mate \ |
---|
| 61 | --disable-static \ |
---|
| 62 | --disable-scrollkeeper |
---|
| 63 | |
---|
| 64 | %{__make} %{?_smp_mflags} |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %install |
---|
| 68 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 69 | |
---|
| 70 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 71 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 72 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 73 | |
---|
| 74 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 75 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 76 | |
---|
| 77 | %find_lang %{name}-2.0 |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 82 | |
---|
| 83 | %post |
---|
| 84 | /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 87 | |
---|
| 88 | SCHEMAS=" \ |
---|
| 89 | battstat.schemas \ |
---|
| 90 | charpick.schemas \ |
---|
| 91 | cpufreq-applet.schemas \ |
---|
| 92 | drivemount.schemas \ |
---|
| 93 | geyes.schemas \ |
---|
| 94 | multiload.schemas \ |
---|
| 95 | stickynotes.schemas" |
---|
| 96 | for S in $SCHEMAS; do |
---|
| 97 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 98 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
| 99 | |
---|
| 100 | %pre |
---|
| 101 | if [ "$1" -gt 1 ]; then |
---|
| 102 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 103 | |
---|
| 104 | SCHEMAS=" \ |
---|
| 105 | battstat.schemas \ |
---|
| 106 | charpick.schemas \ |
---|
| 107 | cpufreq-applet.schemas \ |
---|
| 108 | drivemount.schemas \ |
---|
| 109 | geyes.schemas \ |
---|
| 110 | multiload.schemas \ |
---|
| 111 | stickynotes.schemas" |
---|
| 112 | for S in $SCHEMAS; do |
---|
| 113 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 114 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 115 | fi |
---|
| 116 | |
---|
| 117 | %preun |
---|
| 118 | if [ "$1" -eq 0 ]; then |
---|
| 119 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 120 | |
---|
| 121 | SCHEMAS=" \ |
---|
| 122 | battstat.schemas \ |
---|
| 123 | charpick.schemas \ |
---|
| 124 | cpufreq-applet.schemas \ |
---|
| 125 | drivemount.schemas \ |
---|
| 126 | geyes.schemas \ |
---|
| 127 | multiload.schemas \ |
---|
| 128 | stickynotes.schemas" |
---|
| 129 | for S in $SCHEMAS; do |
---|
| 130 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 131 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 132 | fi |
---|
| 133 | |
---|
| 134 | %postun |
---|
| 135 | /sbin/ldconfig |
---|
| 136 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | %files -f %{name}-2.0.lang |
---|
| 140 | %defattr(-,root,root,-) |
---|
| 141 | %doc COPYING ChangeLog NEWS README |
---|
| 142 | %{_sysconfdir}/dbus-1/system.d/org.mate.CPUFreqSelector.conf |
---|
| 143 | %{_sysconfdir}/mateconf/schemas/battstat.schemas |
---|
| 144 | %{_sysconfdir}/mateconf/schemas/charpick.schemas |
---|
| 145 | %{_sysconfdir}/mateconf/schemas/cpufreq-applet.schemas |
---|
| 146 | %{_sysconfdir}/mateconf/schemas/drivemount.schemas |
---|
| 147 | %{_sysconfdir}/mateconf/schemas/geyes.schemas |
---|
| 148 | %{_sysconfdir}/mateconf/schemas/multiload.schemas |
---|
| 149 | %{_sysconfdir}/mateconf/schemas/stickynotes.schemas |
---|
| 150 | %{_sysconfdir}/sound/events/mate-battstat_applet.soundlist |
---|
| 151 | %{_bindir}/mate-cpufreq-selector |
---|
| 152 | %{_libdir}/matecomponent/servers/MATE_CDPlayerApplet.server |
---|
| 153 | %{_libdir}/matecomponent/servers/MATE_KeyboardApplet.server |
---|
| 154 | %{_libdir}/matecomponent/servers/MATE_MailcheckApplet_Factory.server |
---|
| 155 | %{_libdir}/matecomponent/servers/MATE_MiniCommanderApplet.server |
---|
| 156 | %{_libdir}/matecomponent/servers/MATE_MixerApplet.server |
---|
| 157 | %{_libdir}/matecomponent/servers/MATE_NullApplet_Factory.server |
---|
| 158 | %{_libdir}/matecomponent/servers/MATE_Panel_WirelessApplet.server |
---|
| 159 | %{_libexecdir}/mate/accessx-status-applet |
---|
| 160 | %{_libexecdir}/mate/battstat-applet-2 |
---|
| 161 | %{_libexecdir}/mate/charpick_applet2 |
---|
| 162 | %{_libexecdir}/mate/cpufreq-applet |
---|
| 163 | %{_libexecdir}/mate/drivemount_applet2 |
---|
| 164 | %{_libexecdir}/mate/geyes_applet2 |
---|
| 165 | %{_libexecdir}/mate/mateweather-applet-2 |
---|
| 166 | %{_libexecdir}/mate/multiload-applet-2 |
---|
| 167 | %{_libexecdir}/mate/null_applet |
---|
| 168 | %{_libexecdir}/mate/stickynotes_applet |
---|
| 169 | %{_libexecdir}/mate/trashapplet |
---|
| 170 | %{_datadir}/dbus-1/services/*.service |
---|
| 171 | %{_datadir}/dbus-1/system-services/org.mate.CPUFreqSelector.service |
---|
| 172 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 173 | %{_datadir}/icons/mate/48x48/apps/ax-applet.png |
---|
| 174 | %{_datadir}/mate/help |
---|
| 175 | %{_datadir}/mate-2.0/ui/*.xml |
---|
| 176 | %{_datadir}/%{name} |
---|
| 177 | %{_datadir}/mate-panel/applets/* |
---|
| 178 | %{_datadir}/omf |
---|
| 179 | %{_datadir}/pixmaps/mate-accessx-status-applet |
---|
| 180 | %{_datadir}/pixmaps/mate-cpufreq-applet |
---|
| 181 | %{_datadir}/pixmaps/mate-stickynotes |
---|
| 182 | %{_datadir}/polkit-1/actions/org.mate.cpufreqselector.policy |
---|
| 183 | |
---|
| 184 | |
---|
| 185 | %changelog |
---|
[5316] | 186 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 187 | - change category |
---|
| 188 | |
---|
[5311] | 189 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 190 | - initial build for Vine Linux |
---|
| 191 | |
---|