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