[5311] | 1 | Summary: Library with common API for various MATE modules |
---|
| 2 | Name: mate-desktop |
---|
[7697] | 3 | Version: 1.6.1 |
---|
[6172] | 4 | Release: 1%{?_dist_release} |
---|
[7697] | 5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: User Interface/Desktops |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
[7697] | 10 | # patch for Vine |
---|
| 11 | Patch1001: mate-desktop-vine-settings.patch |
---|
| 12 | |
---|
[5311] | 13 | BuildRequires: mate-common |
---|
| 14 | BuildRequires: mate-doc-utils |
---|
| 15 | BuildRequires: gtk2-devel |
---|
[6172] | 16 | BuildRequires: unique-devel |
---|
[7064] | 17 | BuildRequires: startup-notification-devel |
---|
[5311] | 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 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
| 29 | Packager: Takemikaduchi |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
| 34 | program as well as some desktop-wide documents. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %package devel |
---|
| 38 | Summary: Development tools for mate-desktop |
---|
| 39 | Summary(ja): mate-desktop の開発環境 |
---|
| 40 | Group: Development/Libraries |
---|
| 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | Requires: pkgconfig |
---|
| 43 | |
---|
| 44 | %description devel |
---|
| 45 | Header files and libraries for building a extension library for the |
---|
| 46 | mate-desktop. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %package doc |
---|
| 50 | Summary: Documentation for mate-desktop |
---|
| 51 | Summary(ja): mate-desktop 用のドキュメント |
---|
| 52 | Group: Documentation |
---|
| 53 | Requires: %{name} = %{version}-%{release} |
---|
| 54 | BuildArch: noarch |
---|
| 55 | |
---|
| 56 | %description doc |
---|
| 57 | This package contains documentation for mate-desktop. |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %prep |
---|
| 61 | %setup -q |
---|
[7697] | 62 | %patch1001 -p1 -b .vine |
---|
[5311] | 63 | |
---|
| 64 | |
---|
| 65 | %build |
---|
| 66 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 67 | %configure \ |
---|
| 68 | --disable-static \ |
---|
| 69 | --disable-scrollkeeper |
---|
| 70 | |
---|
| 71 | %{__make} %{?_smp_mflags} |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 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} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
| 82 | |
---|
[6679] | 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 | |
---|
| 93 | %postun |
---|
| 94 | /sbin/ldconfig |
---|
[7697] | 95 | if [ $1 -eq 0 ]; then |
---|
| 96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 97 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 98 | fi |
---|
[5311] | 99 | |
---|
[7697] | 100 | %posttrans |
---|
| 101 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 102 | |
---|
[7697] | 103 | |
---|
[6679] | 104 | %files -f %{name}.lang |
---|
[5311] | 105 | %defattr(-,root,root,-) |
---|
| 106 | %doc COPYING ChangeLog NEWS README |
---|
| 107 | %{_bindir}/mate-about |
---|
| 108 | %{_libdir}/libmate-desktop-2.so.* |
---|
[7697] | 109 | %{_datadir}/MateConf/gsettings/mate-desktop.convert |
---|
[5311] | 110 | %{_datadir}/applications/mate-about.desktop |
---|
[7697] | 111 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml |
---|
| 112 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml |
---|
| 113 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml |
---|
| 114 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml |
---|
| 115 | %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml |
---|
| 116 | %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml |
---|
| 117 | %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml |
---|
| 118 | %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml |
---|
| 119 | %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml |
---|
| 120 | %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml |
---|
| 121 | %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml |
---|
| 122 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml |
---|
| 123 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml |
---|
| 124 | %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml |
---|
| 125 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml |
---|
| 126 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml |
---|
| 127 | %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml |
---|
[5311] | 128 | %{_datadir}/libmate-desktop/pnp.ids |
---|
| 129 | %{_datadir}/mate/help |
---|
[6679] | 130 | %{_datadir}/mate-about/mate-version.xml |
---|
[5311] | 131 | %{_mandir}/man1/mate-about.1.gz |
---|
| 132 | |
---|
| 133 | %files devel |
---|
| 134 | %defattr(-,root,root,-) |
---|
| 135 | %{_includedir}/mate-desktop-2.0 |
---|
| 136 | %{_libdir}/libmate-desktop-2.so |
---|
| 137 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
| 138 | |
---|
| 139 | %files doc |
---|
| 140 | %defattr(-,root,root,-) |
---|
| 141 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | %changelog |
---|
[7697] | 145 | * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 146 | - new upstream release |
---|
| 147 | - remove BuildRequires: mate-conf-devel |
---|
| 148 | - add Patch1001 (mate-desktop-vine-settings.patch) |
---|
| 149 | |
---|
[7064] | 150 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - add BuildRequires: startup-notification-devel |
---|
| 153 | |
---|
[6679] | 154 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
[6172] | 157 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 158 | - new upstream release |
---|
| 159 | - add BuildRequires: unique-devel |
---|
| 160 | |
---|
[5316] | 161 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 162 | - change category |
---|
| 163 | |
---|
[5311] | 164 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 165 | - initial build for Vine Linux |
---|
| 166 | |
---|