|
@@ -0,0 +1,184 @@
|
|
|
|
+Summary: MATE utility programs
|
|
|
|
+Name: mate-utils
|
|
|
|
+Version: 1.1.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Source0: %{name}-%{version}.tar.xz
|
|
|
|
+License: GPLv2
|
|
|
|
+Group: Applications/System
|
|
|
|
+URL: https://matsusoft.com.ar/projects/mate/
|
|
|
|
+
|
|
|
|
+BuildRequires: mate-common
|
|
|
|
+BuildRequires: mate-doc-utils
|
|
|
|
+BuildRequires: mate-conf-devel
|
|
|
|
+BuildRequires: mate-panel-devel
|
|
|
|
+BuildRequires: gtk2-devel
|
|
|
|
+BuildRequires: libgtop2-devel
|
|
|
|
+BuildRequires: libSM-devel
|
|
|
|
+BuildRequires: popt-devel
|
|
|
|
+BuildRequires: gtk-doc
|
|
|
|
+BuildRequires: autoconf
|
|
|
|
+BuildRequires: automake
|
|
|
|
+
|
|
|
|
+Requires(post,pre,preun): mate-conf
|
|
|
|
+Requires(post,postun): desktop-file-utils
|
|
|
|
+
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: Takemikaduchi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%description
|
|
|
|
+MATE Utilities for the MATE Desktop contains the following -
|
|
|
|
+
|
|
|
|
+ mate-system-log [logview]
|
|
|
|
+ mate-search-tool [gseachtool]
|
|
|
|
+ mate-dictionary [mate-dictionary]
|
|
|
|
+ mate-screenshot [mate-screenshot]
|
|
|
|
+ baobab [baobab]
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package devel
|
|
|
|
+Summary: Development tools for mate-utils
|
|
|
|
+Summary(ja): mate-utils の開発環境
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: pkgconfig
|
|
|
|
+
|
|
|
|
+%description devel
|
|
|
|
+Header files and libraries for building a extension library for the
|
|
|
|
+mate-utils.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package doc
|
|
|
|
+Summary: Documentation for mate-utils
|
|
|
|
+Summary(ja): mate-utils 用のドキュメント
|
|
|
|
+Group: Documentation
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+BuildArch: noarch
|
|
|
|
+
|
|
|
|
+%description doc
|
|
|
|
+This package contains documentation for mate-utils.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+%setup -q
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%build
|
|
|
|
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
|
|
|
|
+%configure \
|
|
|
|
+ --libexecdir=%{_libexecdir}/mate \
|
|
|
|
+ --disable-static \
|
|
|
|
+ --disable-scrollkeeper
|
|
|
|
+
|
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%install
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
+
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
+
|
|
|
|
+%find_lang %{name}-2.0
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+
|
|
|
|
+%post
|
|
|
|
+/sbin/ldconfig
|
|
|
|
+
|
|
|
|
+export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
+
|
|
|
|
+SCHEMAS=" \
|
|
|
|
+ baobab.schemas \
|
|
|
|
+ mate-dictionary.schemas \
|
|
|
|
+ mate-screenshot.schemas \
|
|
|
|
+ mate-search-tool.schemas \
|
|
|
|
+ mate-system-log.schemas"
|
|
|
|
+for S in $SCHEMAS; do
|
|
|
|
+ echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
+ | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
|
|
|
|
+
|
|
|
|
+update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
|
|
+
|
|
|
|
+%pre
|
|
|
|
+if [ "$1" -gt 1 ]; then
|
|
|
|
+ export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
+
|
|
|
|
+ SCHEMAS=" \
|
|
|
|
+ baobab.schemas \
|
|
|
|
+ mate-dictionary.schemas \
|
|
|
|
+ mate-screenshot.schemas \
|
|
|
|
+ mate-search-tool.schemas \
|
|
|
|
+ mate-system-log.schemas"
|
|
|
|
+ for S in $SCHEMAS; do
|
|
|
|
+ echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
+ | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+%preun
|
|
|
|
+if [ "$1" -eq 0 ]; then
|
|
|
|
+ export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
|
|
|
|
+
|
|
|
|
+ SCHEMAS=" \
|
|
|
|
+ baobab.schemas \
|
|
|
|
+ mate-dictionary.schemas \
|
|
|
|
+ mate-screenshot.schemas \
|
|
|
|
+ mate-search-tool.schemas \
|
|
|
|
+ mate-system-log.schemas"
|
|
|
|
+ for S in $SCHEMAS; do
|
|
|
|
+ echo %{_sysconfdir}/mateconf/schemas/$S; done \
|
|
|
|
+ | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+%postun
|
|
|
|
+/sbin/ldconfig
|
|
|
|
+update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%files -f %{name}-2.0.lang
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%doc COPYING ChangeLog NEWS README
|
|
|
|
+%{_sysconfdir}/mateconf/schemas/baobab.schemas
|
|
|
|
+%{_sysconfdir}/mateconf/schemas/mate-dictionary.schemas
|
|
|
|
+%{_sysconfdir}/mateconf/schemas/mate-screenshot.schemas
|
|
|
|
+%{_sysconfdir}/mateconf/schemas/mate-search-tool.schemas
|
|
|
|
+%{_sysconfdir}/mateconf/schemas/mate-system-log.schemas
|
|
|
|
+%{_bindir}/mate-dictionary
|
|
|
|
+%{_bindir}/mate-disk-usage-analyzer
|
|
|
|
+%{_bindir}/mate-panel-screenshot
|
|
|
|
+%{_bindir}/mate-screenshot
|
|
|
|
+%{_bindir}/mate-search-tool
|
|
|
|
+%{_bindir}/mate-system-log
|
|
|
|
+%{_libdir}/libmatedict.so.*
|
|
|
|
+%{_libdir}/matecomponent/servers/MATE_DictionaryApplet.server
|
|
|
|
+%{_libexecdir}/mate/mate-dictionary-applet
|
|
|
|
+%{_datadir}/applications/*.desktop
|
|
|
|
+%{_datadir}/icons/mate/*/*/*
|
|
|
|
+%{_datadir}/mate/help/*
|
|
|
|
+%{_datadir}/mate-2.0/ui/MATE_DictionaryApplet.xml
|
|
|
|
+%{_datadir}/mate-dict
|
|
|
|
+%{_datadir}/mate-dictionary
|
|
|
|
+%{_datadir}/mate-disk-usage-analyzer
|
|
|
|
+%{_datadir}/mate-screenshot
|
|
|
|
+%{_datadir}/mate-utils
|
|
|
|
+%{_datadir}/omf/*
|
|
|
|
+%{_datadir}/pixmaps/mate-search-tool/thumbnail_frame.png
|
|
|
|
+%{_mandir}/man1/*.1.gz
|
|
|
|
+
|
|
|
|
+%files devel
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_includedir}/mate-dict
|
|
|
|
+%{_libdir}/libmatedict.so
|
|
|
|
+%{_libdir}/pkgconfig/mate-dict.pc
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%changelog
|
|
|
|
+* Sat Dec 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
|
|
|
|
+- initial build for Vine Linux
|
|
|
|
+
|