| 1 | Summary: A system tools for MATE |
|---|
| 2 | Name: mate-system-tools |
|---|
| 3 | Version: 1.8.1 |
|---|
| 4 | Release: 1%{?_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-polkit-devel |
|---|
| 13 | BuildRequires: mate-file-manager-devel |
|---|
| 14 | BuildRequires: gtk2-devel |
|---|
| 15 | BuildRequires: dbus-devel |
|---|
| 16 | BuildRequires: liboobs-devel |
|---|
| 17 | BuildRequires: system-tools-backends |
|---|
| 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 | These tools are intended to simplify the tasks of configuring a Unix system |
|---|
| 35 | for workstations. They are not intended for configuring Unix servers. |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | %package devel |
|---|
| 39 | Summary: Development tools for mate-system-tools |
|---|
| 40 | Summary(ja): mate-system-tools の開発環境 |
|---|
| 41 | Group: Development/Libraries |
|---|
| 42 | Requires: %{name} = %{version}-%{release} |
|---|
| 43 | Requires: pkgconfig |
|---|
| 44 | |
|---|
| 45 | %description devel |
|---|
| 46 | Header files and libraries for building a extension library for the |
|---|
| 47 | mate-system-tools. |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %prep |
|---|
| 51 | %setup -q |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %build |
|---|
| 55 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
|---|
| 56 | %configure \ |
|---|
| 57 | --disable-static \ |
|---|
| 58 | --disable-scrollkeeper |
|---|
| 59 | |
|---|
| 60 | %{__make} %{?_smp_mflags} |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | %install |
|---|
| 64 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 65 | |
|---|
| 66 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|---|
| 67 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 68 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|---|
| 69 | |
|---|
| 70 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
|---|
| 71 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 72 | |
|---|
| 73 | %find_lang %{name} |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | %clean |
|---|
| 77 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 78 | |
|---|
| 79 | %post |
|---|
| 80 | /sbin/ldconfig |
|---|
| 81 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 82 | |
|---|
| 83 | %postun |
|---|
| 84 | /sbin/ldconfig |
|---|
| 85 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 86 | if [ $1 -eq 0 ]; then |
|---|
| 87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
|---|
| 88 | fi |
|---|
| 89 | |
|---|
| 90 | %posttrans |
|---|
| 91 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
|---|
| 92 | |
|---|
| 93 | |
|---|
| 94 | %files -f %{name}.lang |
|---|
| 95 | %defattr(-,root,root,-) |
|---|
| 96 | %doc COPYING ChangeLog NEWS README |
|---|
| 97 | %{_sysconfdir}/mate-system-tools/user-profiles.conf |
|---|
| 98 | %{_bindir}/mate-network-admin |
|---|
| 99 | %{_bindir}/mate-services-admin |
|---|
| 100 | %{_bindir}/mate-shares-admin |
|---|
| 101 | %{_bindir}/mate-time-admin |
|---|
| 102 | %{_bindir}/mate-users-admin |
|---|
| 103 | %{_libdir}/caja/extensions-2.0/libcaja-gst-shares.so |
|---|
| 104 | %{_datadir}/applications/*.desktop |
|---|
| 105 | %{_datadir}/glib-2.0/schemas/org.mate.system-tools.gschema.xml |
|---|
| 106 | %{_datadir}/icons/mate/*/*/* |
|---|
| 107 | %{_datadir}/help/* |
|---|
| 108 | %{_datadir}/%{name} |
|---|
| 109 | |
|---|
| 110 | %files devel |
|---|
| 111 | %defattr(-,root,root,-) |
|---|
| 112 | %{_libdir}/pkgconfig/mate-system-tools.pc |
|---|
| 113 | |
|---|
| 114 | %changelog |
|---|
| 115 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
|---|
| 116 | - new upstream release |
|---|
| 117 | |
|---|
| 118 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
|---|
| 119 | - new upstream release |
|---|
| 120 | - remove Patch0 (mate-system-tools-1.1.0-makefile.patch) |
|---|
| 121 | |
|---|
| 122 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
|---|
| 123 | - rebuild with VineSeed environment |
|---|
| 124 | |
|---|
| 125 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
|---|
| 126 | - new upstream release |
|---|
| 127 | - remove BuildRequires: mate-conf-devel |
|---|
| 128 | |
|---|
| 129 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
|---|
| 130 | - new upstream release |
|---|
| 131 | |
|---|
| 132 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1 |
|---|
| 133 | - new upstream release |
|---|
| 134 | |
|---|
| 135 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
|---|
| 136 | - change category |
|---|
| 137 | |
|---|
| 138 | * Sun Dec 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
|---|
| 139 | - initial build for Vine Linux |
|---|
| 140 | |
|---|