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