[5322] | 1 | Summary: MATE utility programs |
---|
| 2 | Name: mate-utils |
---|
[10901] | 3 | Version: 1.16.0 |
---|
[10255] | 4 | Release: 1%{?_dist_release} |
---|
[10901] | 5 | Source0: http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz |
---|
| 6 | License: GPLv2 and LGPLv2.1 |
---|
[5322] | 7 | Group: Applications/System |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5322] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-doc-utils |
---|
| 12 | BuildRequires: mate-panel-devel |
---|
| 13 | BuildRequires: gtk2-devel |
---|
| 14 | BuildRequires: libgtop2-devel |
---|
[7697] | 15 | BuildRequires: libcanberra-devel |
---|
[5322] | 16 | BuildRequires: libSM-devel |
---|
| 17 | BuildRequires: popt-devel |
---|
[8359] | 18 | BuildRequires: itstool |
---|
[5322] | 19 | BuildRequires: gtk-doc |
---|
| 20 | BuildRequires: autoconf |
---|
| 21 | BuildRequires: automake |
---|
| 22 | |
---|
[7697] | 23 | Requires(posttrans,postun): glib2 |
---|
[5322] | 24 | Requires(post,postun): desktop-file-utils |
---|
[9988] | 25 | Requires: usermode |
---|
[5322] | 26 | |
---|
| 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 28 | |
---|
| 29 | Vendor: Project Vine |
---|
| 30 | Distribution: Vine Linux |
---|
[10901] | 31 | Packager: Takemikaduchi, iwaim |
---|
[5322] | 32 | |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | MATE Utilities for the MATE Desktop contains the following - |
---|
| 36 | |
---|
[7697] | 37 | mate-system-log |
---|
| 38 | mate-search-tool |
---|
| 39 | mate-dictionary |
---|
| 40 | mate-screenshot |
---|
| 41 | mate-dictionary |
---|
[5322] | 42 | |
---|
| 43 | |
---|
| 44 | %package devel |
---|
| 45 | Summary: Development tools for mate-utils |
---|
| 46 | Summary(ja): mate-utils の開発環境 |
---|
| 47 | Group: Development/Libraries |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | Requires: pkgconfig |
---|
| 50 | |
---|
| 51 | %description devel |
---|
| 52 | Header files and libraries for building a extension library for the |
---|
| 53 | mate-utils. |
---|
| 54 | |
---|
| 55 | |
---|
[8359] | 56 | %package docs |
---|
[5322] | 57 | Summary: Documentation for mate-utils |
---|
| 58 | Summary(ja): mate-utils 用のドキュメント |
---|
| 59 | Group: Documentation |
---|
| 60 | Requires: %{name} = %{version}-%{release} |
---|
| 61 | BuildArch: noarch |
---|
[10901] | 62 | License: GFDLv1.1 |
---|
[5322] | 63 | |
---|
[8359] | 64 | %description docs |
---|
[5322] | 65 | This package contains documentation for mate-utils. |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %prep |
---|
| 69 | %setup -q |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %build |
---|
| 73 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 74 | %configure \ |
---|
| 75 | --libexecdir=%{_libexecdir}/mate \ |
---|
[7697] | 76 | --disable-static |
---|
[5322] | 77 | |
---|
| 78 | %{__make} %{?_smp_mflags} |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %install |
---|
| 82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 83 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 84 | |
---|
| 85 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 86 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 87 | |
---|
[9988] | 88 | # make mate-system-log use consolehelper until it starts using polkit |
---|
| 89 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d |
---|
| 90 | cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/pam.d/mate-system-log |
---|
| 91 | #%%PAM-1.0 |
---|
| 92 | auth include config-util |
---|
| 93 | account include config-util |
---|
| 94 | session include config-util |
---|
| 95 | EOF |
---|
| 96 | |
---|
| 97 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps |
---|
| 98 | cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/mate-system-log |
---|
| 99 | USER=root |
---|
| 100 | PROGRAM=/usr/sbin/mate-system-log |
---|
| 101 | SESSION=true |
---|
| 102 | FALLBACK=true |
---|
| 103 | EOF |
---|
| 104 | |
---|
| 105 | mkdir -p $RPM_BUILD_ROOT%{_sbindir} |
---|
| 106 | mv $RPM_BUILD_ROOT%{_bindir}/mate-system-log $RPM_BUILD_ROOT%{_sbindir} |
---|
| 107 | ln -s %{_bindir}/consolehelper $RPM_BUILD_ROOT%{_bindir}/mate-system-log |
---|
| 108 | |
---|
[6172] | 109 | %find_lang %{name} |
---|
[5322] | 110 | |
---|
| 111 | |
---|
| 112 | %clean |
---|
| 113 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 114 | |
---|
| 115 | %post |
---|
| 116 | /sbin/ldconfig |
---|
| 117 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 118 | |
---|
| 119 | %postun |
---|
| 120 | /sbin/ldconfig |
---|
[7697] | 121 | if [ $1 -eq 0 ]; then |
---|
| 122 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 123 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 124 | fi |
---|
[5322] | 125 | |
---|
[7697] | 126 | %posttrans |
---|
| 127 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5322] | 128 | |
---|
[7697] | 129 | |
---|
[6172] | 130 | %files -f %{name}.lang |
---|
[5322] | 131 | %defattr(-,root,root,-) |
---|
[10901] | 132 | %doc COPYING COPYING.libs ChangeLog NEWS README |
---|
[9988] | 133 | %{_sysconfdir}/pam.d/mate-system-log |
---|
| 134 | %{_sysconfdir}/security/console.apps/mate-system-log |
---|
[5322] | 135 | %{_bindir}/mate-dictionary |
---|
| 136 | %{_bindir}/mate-disk-usage-analyzer |
---|
| 137 | %{_bindir}/mate-panel-screenshot |
---|
| 138 | %{_bindir}/mate-screenshot |
---|
| 139 | %{_bindir}/mate-search-tool |
---|
| 140 | %{_bindir}/mate-system-log |
---|
[9988] | 141 | %{_sbindir}/mate-system-log |
---|
[5322] | 142 | %{_libdir}/libmatedict.so.* |
---|
| 143 | %{_libexecdir}/mate/mate-dictionary-applet |
---|
[9552] | 144 | %{_datadir}/appdata/mate-dictionary.appdata.xml |
---|
| 145 | %{_datadir}/appdata/mate-disk-usage-analyzer.appdata.xml |
---|
| 146 | %{_datadir}/appdata/mate-screenshot.appdata.xml |
---|
| 147 | %{_datadir}/appdata/mate-search-tool.appdata.xml |
---|
| 148 | %{_datadir}/applications/mate-dictionary.desktop |
---|
| 149 | %{_datadir}/applications/mate-disk-usage-analyzer.desktop |
---|
| 150 | %{_datadir}/applications/mate-screenshot.desktop |
---|
| 151 | %{_datadir}/applications/mate-search-tool.desktop |
---|
| 152 | %{_datadir}/applications/mate-system-log.desktop |
---|
[7697] | 153 | %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service |
---|
| 154 | %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml |
---|
| 155 | %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml |
---|
| 156 | %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml |
---|
| 157 | %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml |
---|
| 158 | %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml |
---|
[8359] | 159 | %{_datadir}/help/* |
---|
| 160 | %{_datadir}/icons/*/*/*/* |
---|
[5322] | 161 | %{_datadir}/mate-dict |
---|
| 162 | %{_datadir}/mate-dictionary |
---|
| 163 | %{_datadir}/mate-disk-usage-analyzer |
---|
[7697] | 164 | %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet |
---|
[5322] | 165 | %{_datadir}/mate-screenshot |
---|
[8359] | 166 | %{_datadir}/%{name} |
---|
[5322] | 167 | %{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png |
---|
| 168 | %{_mandir}/man1/*.1.gz |
---|
| 169 | |
---|
| 170 | %files devel |
---|
| 171 | %defattr(-,root,root,-) |
---|
| 172 | %{_includedir}/mate-dict |
---|
| 173 | %{_libdir}/libmatedict.so |
---|
| 174 | %{_libdir}/pkgconfig/mate-dict.pc |
---|
| 175 | |
---|
[8359] | 176 | %files docs |
---|
| 177 | %defattr(-,root,root,-) |
---|
[10901] | 178 | %doc COPYING.docs |
---|
[8359] | 179 | %{_datadir}/gtk-doc/html/mate-dict |
---|
[5322] | 180 | |
---|
[8359] | 181 | |
---|
[5322] | 182 | %changelog |
---|
[10901] | 183 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 184 | - new upstream release |
---|
| 185 | - update License |
---|
| 186 | - update Packager |
---|
| 187 | |
---|
[10255] | 188 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
[10901] | 189 | - new upstream release |
---|
[10255] | 190 | |
---|
[9988] | 191 | * Mon Jan 25 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-2 |
---|
| 192 | - add Requires: usermode |
---|
| 193 | |
---|
[9797] | 194 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[9726] | 197 | * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.3-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[9667] | 200 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 201 | - new upstream release |
---|
| 202 | |
---|
[9661] | 203 | * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
[9552] | 206 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[9432] | 209 | * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
[9120] | 212 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 213 | - new upstream release |
---|
| 214 | |
---|
[8447] | 215 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 216 | - rebuild with libgtop2-2.30.0 |
---|
| 217 | |
---|
[8359] | 218 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 219 | - new upstream release |
---|
| 220 | - add BuildRequires: itstool |
---|
| 221 | |
---|
[8068] | 222 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 223 | - rebuild with VineSeed environment |
---|
| 224 | |
---|
[7697] | 225 | * Mon May 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 226 | - new upstream release |
---|
| 227 | - remove BuildRequires: mate-conf-devel |
---|
| 228 | - add BuildRequires: libcanberra-devel |
---|
| 229 | |
---|
[6679] | 230 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 231 | - new upstream release |
---|
| 232 | |
---|
[6172] | 233 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 234 | - new upstream release |
---|
| 235 | |
---|
[5322] | 236 | * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 237 | - initial build for Vine Linux |
---|
| 238 | |
---|