123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- Summary: The Control Center for MATE
- Name: mate-control-center
- Version: 1.1.0
- Release: 2%{?_dist_release}
- Source0: %{name}-%{version}.tar.xz
- License: GPLv2
- Group: User Interface/Desktops
- URL: https://matsusoft.com.ar/projects/mate/
- BuildRequires: mate-common
- BuildRequires: mate-doc-utils
- BuildRequires: mate-conf-devel
- BuildRequires: mate-desktop-devel
- BuildRequires: mate-menus-devel
- BuildRequires: mate-window-manager-devel
- BuildRequires: mate-settings-daemon-devel
- BuildRequires: libmatekbd-devel
- BuildRequires: gtk2-devel
- BuildRequires: libxml2-devel
- BuildRequires: libSM-devel
- BuildRequires: libXScrnSaver-devel
- BuildRequires: libXext-devel
- BuildRequires: libXxf86misc-devel
- BuildRequires: libcanberra-devel
- BuildRequires: unique-devel
- BuildRequires: desktop-file-utils
- BuildRequires: gtk-doc
- BuildRequires: autoconf
- BuildRequires: automake
- Requires(post,pre,preun): mate-conf
- Requires(post,postun): desktop-file-utils
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- The control center is MATE's main interface for configuration of various
- aspects of your desktop.
- %package devel
- Summary: Development tools for mate-control-center
- Summary(ja): mate-control-center の開発環境
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- Header files and libraries for building a extension library for the
- mate-control-center.
- %prep
- %setup -q
- %build
- (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
- %configure \
- --disable-static \
- --disable-scrollkeeper \
- --disable-update-mimedb
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf ${RPM_BUILD_ROOT}
- export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- %{__make} install DESTDIR=${RPM_BUILD_ROOT}
- unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache
- %find_lang %{name}-2.0
- %clean
- %{__rm} -rf ${RPM_BUILD_ROOT}
- %post
- /sbin/ldconfig
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- fontilus.schemas \
- mate-control-center.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
- %pre
- if [ "$1" -gt 1 ]; then
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- fontilus.schemas \
- mate-control-center.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
- fi
- %preun
- if [ "$1" -eq 0 ]; then
- export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
- SCHEMAS=" \
- fontilus.schemas \
- mate-control-center.schemas"
- for S in $SCHEMAS; do
- echo %{_sysconfdir}/mateconf/schemas/$S; done \
- | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
- fi
- %postun
- /sbin/ldconfig
- update-desktop-database %{_datadir}/applications >& /dev/null ||:
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
- fi
- %files -f %{name}-2.0.lang
- %defattr(-,root,root,-)
- %doc COPYING ChangeLog NEWS README
- %{_sysconfdir}/mateconf/schemas/fontilus.schemas
- %{_sysconfdir}/mateconf/schemas/mate-control-center.schemas
- %{_sysconfdir}/xdg/autostart/mate-at-session.desktop
- %{_bindir}/mate-*
- %{_libdir}/libmate-window-settings.so.*
- %{_libdir}/window-manager-settings/libmarco.so
- %{_sbindir}/mate-display-properties-install-systemwide
- %{_datadir}/applications/*.desktop
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/mate/cursor-fonts/*
- %{_datadir}/mate/help/%{name}
- %{_datadir}/%{name}
- %{_datadir}/mime/packages/mate-theme-package.xml
- %{_datadir}/omf/%{name}
- %{_datadir}/polkit-1/actions/org.mate.randr.policy
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/mate-window-settings-2.0
- %{_libdir}/libmate-window-settings.so
- %{_libdir}/pkgconfig/mate-window-settings-2.0.pc
- %{_datadir}/pkgconfig/mate-default-applications.pc
- %{_datadir}/pkgconfig/mate-keybindings.pc
- %changelog
- * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
- - change category
- * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
- - initial build for Vine Linux
|