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