| 1 | Summary: MATE utility programs |
|---|
| 2 | Name: mate-utils |
|---|
| 3 | Version: 1.8.0 |
|---|
| 4 | Release: 2%{?_dist_release} |
|---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Group: Applications/System |
|---|
| 8 | URL: http://mate-desktop.org/ |
|---|
| 9 | |
|---|
| 10 | BuildRequires: mate-common |
|---|
| 11 | BuildRequires: mate-doc-utils |
|---|
| 12 | BuildRequires: mate-panel-devel |
|---|
| 13 | BuildRequires: gtk2-devel |
|---|
| 14 | BuildRequires: libgtop2-devel |
|---|
| 15 | BuildRequires: libcanberra-devel |
|---|
| 16 | BuildRequires: libSM-devel |
|---|
| 17 | BuildRequires: popt-devel |
|---|
| 18 | BuildRequires: itstool |
|---|
| 19 | BuildRequires: gtk-doc |
|---|
| 20 | BuildRequires: autoconf |
|---|
| 21 | BuildRequires: automake |
|---|
| 22 | |
|---|
| 23 | Requires(posttrans,postun): glib2 |
|---|
| 24 | Requires(post,postun): desktop-file-utils |
|---|
| 25 | |
|---|
| 26 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 27 | |
|---|
| 28 | Vendor: Project Vine |
|---|
| 29 | Distribution: Vine Linux |
|---|
| 30 | Packager: Takemikaduchi |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %description |
|---|
| 34 | MATE Utilities for the MATE Desktop contains the following - |
|---|
| 35 | |
|---|
| 36 | mate-system-log |
|---|
| 37 | mate-search-tool |
|---|
| 38 | mate-dictionary |
|---|
| 39 | mate-screenshot |
|---|
| 40 | mate-dictionary |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %package devel |
|---|
| 44 | Summary: Development tools for mate-utils |
|---|
| 45 | Summary(ja): mate-utils の開発環境 |
|---|
| 46 | Group: Development/Libraries |
|---|
| 47 | Requires: %{name} = %{version}-%{release} |
|---|
| 48 | Requires: pkgconfig |
|---|
| 49 | |
|---|
| 50 | %description devel |
|---|
| 51 | Header files and libraries for building a extension library for the |
|---|
| 52 | mate-utils. |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | %package docs |
|---|
| 56 | Summary: Documentation for mate-utils |
|---|
| 57 | Summary(ja): mate-utils 用のドキュメント |
|---|
| 58 | Group: Documentation |
|---|
| 59 | Requires: %{name} = %{version}-%{release} |
|---|
| 60 | BuildArch: noarch |
|---|
| 61 | |
|---|
| 62 | %description docs |
|---|
| 63 | This package contains documentation for mate-utils. |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %prep |
|---|
| 67 | %setup -q |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | %build |
|---|
| 71 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
|---|
| 72 | %configure \ |
|---|
| 73 | --libexecdir=%{_libexecdir}/mate \ |
|---|
| 74 | --disable-static |
|---|
| 75 | |
|---|
| 76 | %{__make} %{?_smp_mflags} |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | %install |
|---|
| 80 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 81 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 82 | |
|---|
| 83 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
|---|
| 84 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 85 | |
|---|
| 86 | %find_lang %{name} |
|---|
| 87 | |
|---|
| 88 | |
|---|
| 89 | %clean |
|---|
| 90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 91 | |
|---|
| 92 | %post |
|---|
| 93 | /sbin/ldconfig |
|---|
| 94 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 95 | |
|---|
| 96 | %postun |
|---|
| 97 | /sbin/ldconfig |
|---|
| 98 | if [ $1 -eq 0 ]; then |
|---|
| 99 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
|---|
| 101 | fi |
|---|
| 102 | |
|---|
| 103 | %posttrans |
|---|
| 104 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
|---|
| 105 | |
|---|
| 106 | |
|---|
| 107 | %files -f %{name}.lang |
|---|
| 108 | %defattr(-,root,root,-) |
|---|
| 109 | %doc COPYING ChangeLog NEWS README |
|---|
| 110 | %{_bindir}/mate-dictionary |
|---|
| 111 | %{_bindir}/mate-disk-usage-analyzer |
|---|
| 112 | %{_bindir}/mate-panel-screenshot |
|---|
| 113 | %{_bindir}/mate-screenshot |
|---|
| 114 | %{_bindir}/mate-search-tool |
|---|
| 115 | %{_bindir}/mate-system-log |
|---|
| 116 | %{_libdir}/libmatedict.so.* |
|---|
| 117 | %{_libexecdir}/mate/mate-dictionary-applet |
|---|
| 118 | %{_datadir}/MateConf/gsettings/mate-dictionary.convert |
|---|
| 119 | %{_datadir}/MateConf/gsettings/mate-disk-usage-analyzer.convert |
|---|
| 120 | %{_datadir}/MateConf/gsettings/mate-screenshot.convert |
|---|
| 121 | %{_datadir}/MateConf/gsettings/mate-search-tool.convert |
|---|
| 122 | %{_datadir}/MateConf/gsettings/mate-system-log.convert |
|---|
| 123 | %{_datadir}/applications/*.desktop |
|---|
| 124 | %{_datadir}/dbus-1/services/org.mate.panel.applet.DictionaryAppletFactory.service |
|---|
| 125 | %{_datadir}/glib-2.0/schemas/org.mate.dictionary.gschema.xml |
|---|
| 126 | %{_datadir}/glib-2.0/schemas/org.mate.disk-usage-analyzer.gschema.xml |
|---|
| 127 | %{_datadir}/glib-2.0/schemas/org.mate.screenshot.gschema.xml |
|---|
| 128 | %{_datadir}/glib-2.0/schemas/org.mate.search-tool.gschema.xml |
|---|
| 129 | %{_datadir}/glib-2.0/schemas/org.mate.system-log.gschema.xml |
|---|
| 130 | %{_datadir}/help/* |
|---|
| 131 | %{_datadir}/icons/*/*/*/* |
|---|
| 132 | %{_datadir}/mate-dict |
|---|
| 133 | %{_datadir}/mate-dictionary |
|---|
| 134 | %{_datadir}/mate-disk-usage-analyzer |
|---|
| 135 | %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet |
|---|
| 136 | %{_datadir}/mate-screenshot |
|---|
| 137 | %{_datadir}/%{name} |
|---|
| 138 | %{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png |
|---|
| 139 | %{_mandir}/man1/*.1.gz |
|---|
| 140 | |
|---|
| 141 | %files devel |
|---|
| 142 | %defattr(-,root,root,-) |
|---|
| 143 | %{_includedir}/mate-dict |
|---|
| 144 | %{_libdir}/libmatedict.so |
|---|
| 145 | %{_libdir}/pkgconfig/mate-dict.pc |
|---|
| 146 | |
|---|
| 147 | %files docs |
|---|
| 148 | %defattr(-,root,root,-) |
|---|
| 149 | %{_datadir}/gtk-doc/html/mate-dict |
|---|
| 150 | |
|---|
| 151 | |
|---|
| 152 | %changelog |
|---|
| 153 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
|---|
| 154 | - rebuild with libgtop2-2.30.0 |
|---|
| 155 | |
|---|
| 156 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
|---|
| 157 | - new upstream release |
|---|
| 158 | - add BuildRequires: itstool |
|---|
| 159 | |
|---|
| 160 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
|---|
| 161 | - rebuild with VineSeed environment |
|---|
| 162 | |
|---|
| 163 | * Mon May 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
|---|
| 164 | - new upstream release |
|---|
| 165 | - remove BuildRequires: mate-conf-devel |
|---|
| 166 | - add BuildRequires: libcanberra-devel |
|---|
| 167 | |
|---|
| 168 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
|---|
| 169 | - new upstream release |
|---|
| 170 | |
|---|
| 171 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
|---|
| 172 | - new upstream release |
|---|
| 173 | |
|---|
| 174 | * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
|---|
| 175 | - initial build for Vine Linux |
|---|
| 176 | |
|---|