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