[5322] | 1 | Summary: MATE utility programs |
---|
| 2 | Name: mate-utils |
---|
[8359] | 3 | Version: 1.8.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
---|
[5322] | 6 | License: GPLv2 |
---|
| 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 |
---|
| 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 | |
---|
[7697] | 36 | mate-system-log |
---|
| 37 | mate-search-tool |
---|
| 38 | mate-dictionary |
---|
| 39 | mate-screenshot |
---|
| 40 | mate-dictionary |
---|
[5322] | 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 | |
---|
[8359] | 55 | %package docs |
---|
[5322] | 56 | Summary: Documentation for mate-utils |
---|
| 57 | Summary(ja): mate-utils 用のドキュメント |
---|
| 58 | Group: Documentation |
---|
| 59 | Requires: %{name} = %{version}-%{release} |
---|
| 60 | BuildArch: noarch |
---|
| 61 | |
---|
[8359] | 62 | %description docs |
---|
[5322] | 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 \ |
---|
[7697] | 74 | --disable-static |
---|
[5322] | 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 | |
---|
[6172] | 86 | %find_lang %{name} |
---|
[5322] | 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 |
---|
[7697] | 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 |
---|
[5322] | 102 | |
---|
[7697] | 103 | %posttrans |
---|
| 104 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5322] | 105 | |
---|
[7697] | 106 | |
---|
[6172] | 107 | %files -f %{name}.lang |
---|
[5322] | 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 |
---|
[7697] | 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 |
---|
[5322] | 123 | %{_datadir}/applications/*.desktop |
---|
[7697] | 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 |
---|
[8359] | 130 | %{_datadir}/help/* |
---|
| 131 | %{_datadir}/icons/*/*/*/* |
---|
[5322] | 132 | %{_datadir}/mate-dict |
---|
| 133 | %{_datadir}/mate-dictionary |
---|
| 134 | %{_datadir}/mate-disk-usage-analyzer |
---|
[7697] | 135 | %{_datadir}/mate-panel/applets/org.mate.DictionaryApplet.mate-panel-applet |
---|
[5322] | 136 | %{_datadir}/mate-screenshot |
---|
[8359] | 137 | %{_datadir}/%{name} |
---|
[5322] | 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 | |
---|
[8359] | 147 | %files docs |
---|
| 148 | %defattr(-,root,root,-) |
---|
| 149 | %{_datadir}/gtk-doc/html/mate-dict |
---|
[5322] | 150 | |
---|
[8359] | 151 | |
---|
[5322] | 152 | %changelog |
---|
[8359] | 153 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 154 | - new upstream release |
---|
| 155 | - add BuildRequires: itstool |
---|
| 156 | |
---|
[8068] | 157 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 158 | - rebuild with VineSeed environment |
---|
| 159 | |
---|
[7697] | 160 | * Mon May 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 161 | - new upstream release |
---|
| 162 | - remove BuildRequires: mate-conf-devel |
---|
| 163 | - add BuildRequires: libcanberra-devel |
---|
| 164 | |
---|
[6679] | 165 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
[6172] | 168 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[5322] | 171 | * Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 172 | - initial build for Vine Linux |
---|
| 173 | |
---|