[5311] | 1 | Summary: The Control Center for MATE |
---|
| 2 | Name: mate-control-center |
---|
[6679] | 3 | Version: 1.4.0 |
---|
[6172] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
[6679] | 6 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
[6172] | 7 | |
---|
| 8 | Patch0: mate-control-center-1.2.1-configure.patch |
---|
| 9 | |
---|
[5311] | 10 | License: GPLv2 |
---|
[5316] | 11 | Group: User Interface/Desktops |
---|
[6679] | 12 | URL: http://mate-desktop.org/ |
---|
[5311] | 13 | |
---|
| 14 | BuildRequires: mate-common |
---|
| 15 | BuildRequires: mate-doc-utils |
---|
| 16 | BuildRequires: mate-conf-devel |
---|
| 17 | BuildRequires: mate-desktop-devel |
---|
| 18 | BuildRequires: mate-menus-devel |
---|
| 19 | BuildRequires: mate-window-manager-devel |
---|
| 20 | BuildRequires: mate-settings-daemon-devel |
---|
| 21 | BuildRequires: libmatekbd-devel |
---|
| 22 | BuildRequires: gtk2-devel |
---|
| 23 | BuildRequires: libxml2-devel |
---|
| 24 | BuildRequires: libSM-devel |
---|
| 25 | BuildRequires: libXScrnSaver-devel |
---|
| 26 | BuildRequires: libXext-devel |
---|
| 27 | BuildRequires: libXxf86misc-devel |
---|
| 28 | BuildRequires: libcanberra-devel |
---|
| 29 | BuildRequires: unique-devel |
---|
| 30 | BuildRequires: desktop-file-utils |
---|
| 31 | BuildRequires: gtk-doc |
---|
| 32 | BuildRequires: autoconf |
---|
| 33 | BuildRequires: automake |
---|
| 34 | |
---|
| 35 | Requires(post,pre,preun): mate-conf |
---|
| 36 | Requires(post,postun): desktop-file-utils |
---|
| 37 | |
---|
| 38 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 39 | |
---|
| 40 | Vendor: Project Vine |
---|
| 41 | Distribution: Vine Linux |
---|
| 42 | Packager: Takemikaduchi |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %description |
---|
| 46 | The control center is MATE's main interface for configuration of various |
---|
| 47 | aspects of your desktop. |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %package devel |
---|
| 51 | Summary: Development tools for mate-control-center |
---|
| 52 | Summary(ja): mate-control-center の開発環境 |
---|
| 53 | Group: Development/Libraries |
---|
| 54 | Requires: %{name} = %{version}-%{release} |
---|
| 55 | Requires: pkgconfig |
---|
| 56 | |
---|
| 57 | %description devel |
---|
| 58 | Header files and libraries for building a extension library for the |
---|
| 59 | mate-control-center. |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %prep |
---|
| 63 | %setup -q |
---|
[6172] | 64 | %patch0 -p1 |
---|
[5311] | 65 | |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 69 | %configure \ |
---|
| 70 | --disable-static \ |
---|
| 71 | --disable-scrollkeeper \ |
---|
| 72 | --disable-update-mimedb |
---|
| 73 | |
---|
| 74 | %{__make} %{?_smp_mflags} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 81 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 82 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 83 | |
---|
| 84 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 86 | |
---|
| 87 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache |
---|
| 88 | |
---|
[6172] | 89 | %find_lang %{name} |
---|
[5311] | 90 | |
---|
| 91 | |
---|
| 92 | %clean |
---|
| 93 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 94 | |
---|
| 95 | %post |
---|
| 96 | /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 99 | |
---|
| 100 | SCHEMAS=" \ |
---|
| 101 | fontilus.schemas \ |
---|
| 102 | mate-control-center.schemas" |
---|
| 103 | for S in $SCHEMAS; do |
---|
| 104 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 105 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
| 106 | |
---|
| 107 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 108 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 109 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 110 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 111 | fi |
---|
| 112 | |
---|
| 113 | %pre |
---|
| 114 | if [ "$1" -gt 1 ]; then |
---|
| 115 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 116 | |
---|
| 117 | SCHEMAS=" \ |
---|
| 118 | fontilus.schemas \ |
---|
| 119 | mate-control-center.schemas" |
---|
| 120 | for S in $SCHEMAS; do |
---|
| 121 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 122 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 123 | fi |
---|
| 124 | |
---|
| 125 | %preun |
---|
| 126 | if [ "$1" -eq 0 ]; then |
---|
| 127 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
| 128 | |
---|
| 129 | SCHEMAS=" \ |
---|
| 130 | fontilus.schemas \ |
---|
| 131 | mate-control-center.schemas" |
---|
| 132 | for S in $SCHEMAS; do |
---|
| 133 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
| 134 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
| 135 | fi |
---|
| 136 | |
---|
| 137 | %postun |
---|
| 138 | /sbin/ldconfig |
---|
| 139 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 140 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 141 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 142 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 143 | fi |
---|
| 144 | |
---|
| 145 | |
---|
[6172] | 146 | %files -f %{name}.lang |
---|
[5311] | 147 | %defattr(-,root,root,-) |
---|
| 148 | %doc COPYING ChangeLog NEWS README |
---|
| 149 | %{_sysconfdir}/mateconf/schemas/fontilus.schemas |
---|
| 150 | %{_sysconfdir}/mateconf/schemas/mate-control-center.schemas |
---|
| 151 | %{_sysconfdir}/xdg/autostart/mate-at-session.desktop |
---|
| 152 | %{_bindir}/mate-* |
---|
| 153 | %{_libdir}/libmate-window-settings.so.* |
---|
| 154 | %{_libdir}/window-manager-settings/libmarco.so |
---|
| 155 | %{_sbindir}/mate-display-properties-install-systemwide |
---|
| 156 | %{_datadir}/applications/*.desktop |
---|
| 157 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 158 | %{_datadir}/mate/cursor-fonts/* |
---|
| 159 | %{_datadir}/mate/help/%{name} |
---|
| 160 | %{_datadir}/%{name} |
---|
| 161 | %{_datadir}/mime/packages/mate-theme-package.xml |
---|
| 162 | %{_datadir}/omf/%{name} |
---|
| 163 | %{_datadir}/polkit-1/actions/org.mate.randr.policy |
---|
| 164 | |
---|
| 165 | %files devel |
---|
| 166 | %defattr(-,root,root,-) |
---|
| 167 | %{_includedir}/mate-window-settings-2.0 |
---|
| 168 | %{_libdir}/libmate-window-settings.so |
---|
| 169 | %{_libdir}/pkgconfig/mate-window-settings-2.0.pc |
---|
| 170 | %{_datadir}/pkgconfig/mate-default-applications.pc |
---|
| 171 | %{_datadir}/pkgconfig/mate-keybindings.pc |
---|
| 172 | |
---|
| 173 | |
---|
| 174 | %changelog |
---|
[6679] | 175 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
[6172] | 178 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 179 | - new upstream release |
---|
| 180 | - add Patch0 (mate-control-center-1.2.1-configure.patch) |
---|
| 181 | |
---|
[5316] | 182 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 183 | - change category |
---|
| 184 | |
---|
[5311] | 185 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 186 | - initial build for Vine Linux |
---|
| 187 | |
---|