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