[5311] | 1 | Summary: Library with common API for various MATE modules |
---|
| 2 | Name: mate-desktop |
---|
[8432] | 3 | Version: 1.8.1 |
---|
[8359] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{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 |
---|
[8359] | 16 | BuildRequires: dconf-devel |
---|
[6172] | 17 | BuildRequires: unique-devel |
---|
[7064] | 18 | BuildRequires: startup-notification-devel |
---|
[5311] | 19 | BuildRequires: gtk-doc |
---|
[8359] | 20 | BuildRequires: itstool |
---|
[5311] | 21 | BuildRequires: autoconf |
---|
| 22 | BuildRequires: automake |
---|
| 23 | |
---|
[7697] | 24 | Requires(posttrans,postun): glib2 |
---|
[5311] | 25 | Requires(post,postun): desktop-file-utils |
---|
| 26 | |
---|
| 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 28 | |
---|
| 29 | Vendor: Project Vine |
---|
| 30 | Distribution: Vine Linux |
---|
| 31 | Packager: Takemikaduchi |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
| 36 | program as well as some desktop-wide documents. |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %package devel |
---|
| 40 | Summary: Development tools for mate-desktop |
---|
| 41 | Summary(ja): mate-desktop の開発環境 |
---|
| 42 | Group: Development/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | Requires: pkgconfig |
---|
| 45 | |
---|
| 46 | %description devel |
---|
| 47 | Header files and libraries for building a extension library for the |
---|
| 48 | mate-desktop. |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %package doc |
---|
| 52 | Summary: Documentation for mate-desktop |
---|
| 53 | Summary(ja): mate-desktop 用のドキュメント |
---|
| 54 | Group: Documentation |
---|
| 55 | Requires: %{name} = %{version}-%{release} |
---|
| 56 | BuildArch: noarch |
---|
| 57 | |
---|
| 58 | %description doc |
---|
| 59 | This package contains documentation for mate-desktop. |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %prep |
---|
| 63 | %setup -q |
---|
[7697] | 64 | %patch1001 -p1 -b .vine |
---|
[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 | |
---|
| 73 | %{__make} %{?_smp_mflags} |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %install |
---|
| 77 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 78 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 81 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 82 | |
---|
| 83 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
| 84 | |
---|
[6679] | 85 | %find_lang %{name} |
---|
[5311] | 86 | |
---|
| 87 | |
---|
| 88 | %clean |
---|
| 89 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 90 | |
---|
| 91 | %post |
---|
| 92 | /sbin/ldconfig |
---|
| 93 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 94 | |
---|
| 95 | %postun |
---|
| 96 | /sbin/ldconfig |
---|
[7697] | 97 | if [ $1 -eq 0 ]; then |
---|
| 98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 99 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 100 | fi |
---|
[5311] | 101 | |
---|
[7697] | 102 | %posttrans |
---|
| 103 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 104 | |
---|
[7697] | 105 | |
---|
[6679] | 106 | %files -f %{name}.lang |
---|
[5311] | 107 | %defattr(-,root,root,-) |
---|
| 108 | %doc COPYING ChangeLog NEWS README |
---|
| 109 | %{_bindir}/mate-about |
---|
[8359] | 110 | %{_bindir}/mate-gsettings-toggle |
---|
[5311] | 111 | %{_libdir}/libmate-desktop-2.so.* |
---|
[7697] | 112 | %{_datadir}/MateConf/gsettings/mate-desktop.convert |
---|
[5311] | 113 | %{_datadir}/applications/mate-about.desktop |
---|
[8359] | 114 | %{_datadir}/applications/mate-user-guide.desktop |
---|
[7697] | 115 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml |
---|
| 116 | %{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml |
---|
| 117 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml |
---|
| 118 | %{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml |
---|
| 119 | %{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml |
---|
| 120 | %{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml |
---|
| 121 | %{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml |
---|
| 122 | %{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml |
---|
| 123 | %{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml |
---|
| 124 | %{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml |
---|
| 125 | %{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml |
---|
| 126 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml |
---|
| 127 | %{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml |
---|
| 128 | %{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml |
---|
| 129 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml |
---|
| 130 | %{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml |
---|
| 131 | %{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml |
---|
[5311] | 132 | %{_datadir}/libmate-desktop/pnp.ids |
---|
[6679] | 133 | %{_datadir}/mate-about/mate-version.xml |
---|
[8359] | 134 | %{_datadir}/help/* |
---|
[5311] | 135 | %{_mandir}/man1/mate-about.1.gz |
---|
[8359] | 136 | %{_mandir}/man1/mate-gsettings-toggle.1.gz |
---|
| 137 | %exclude %{_datadir}/help/*/*/index.docbook |
---|
[5311] | 138 | |
---|
| 139 | %files devel |
---|
| 140 | %defattr(-,root,root,-) |
---|
| 141 | %{_includedir}/mate-desktop-2.0 |
---|
| 142 | %{_libdir}/libmate-desktop-2.so |
---|
| 143 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
| 144 | |
---|
| 145 | %files doc |
---|
| 146 | %defattr(-,root,root,-) |
---|
| 147 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | %changelog |
---|
[8432] | 151 | * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[8359] | 154 | * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - add BuildRequires: dconf-devel, itstool |
---|
| 157 | |
---|
[8068] | 158 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 159 | - rebuild with VineSeed environment |
---|
| 160 | |
---|
[7697] | 161 | * Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 162 | - new upstream release |
---|
| 163 | - remove BuildRequires: mate-conf-devel |
---|
| 164 | - add Patch1001 (mate-desktop-vine-settings.patch) |
---|
| 165 | |
---|
[7064] | 166 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1 |
---|
| 167 | - new upstream release |
---|
| 168 | - add BuildRequires: startup-notification-devel |
---|
| 169 | |
---|
[6679] | 170 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[6172] | 173 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 174 | - new upstream release |
---|
| 175 | - add BuildRequires: unique-devel |
---|
| 176 | |
---|
[5316] | 177 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 178 | - change category |
---|
| 179 | |
---|
[5311] | 180 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 181 | - initial build for Vine Linux |
---|
| 182 | |
---|