[5311] | 1 | Summary: Library with common API for various MATE modules |
---|
| 2 | Name: mate-desktop |
---|
[7064] | 3 | Version: 1.4.2 |
---|
[6172] | 4 | Release: 1%{?_dist_release} |
---|
[6679] | 5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: User Interface/Desktops |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-doc-utils |
---|
| 12 | BuildRequires: mate-conf-devel |
---|
| 13 | BuildRequires: gtk2-devel |
---|
[6172] | 14 | BuildRequires: unique-devel |
---|
[7064] | 15 | BuildRequires: startup-notification-devel |
---|
[5311] | 16 | BuildRequires: gtk-doc |
---|
| 17 | BuildRequires: autoconf |
---|
| 18 | BuildRequires: automake |
---|
| 19 | |
---|
| 20 | Requires(post,postun): desktop-file-utils |
---|
| 21 | |
---|
| 22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | Packager: Takemikaduchi |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %description |
---|
| 30 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
| 31 | program as well as some desktop-wide documents. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development tools for mate-desktop |
---|
| 36 | Summary(ja): mate-desktop の開発環境 |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | Requires: pkgconfig |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | Header files and libraries for building a extension library for the |
---|
| 43 | mate-desktop. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %package doc |
---|
| 47 | Summary: Documentation for mate-desktop |
---|
| 48 | Summary(ja): mate-desktop 用のドキュメント |
---|
| 49 | Group: Documentation |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | BuildArch: noarch |
---|
| 52 | |
---|
| 53 | %description doc |
---|
| 54 | This package contains documentation for mate-desktop. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %prep |
---|
| 58 | %setup -q |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %build |
---|
| 62 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 63 | %configure \ |
---|
| 64 | --disable-static \ |
---|
| 65 | --disable-scrollkeeper |
---|
| 66 | |
---|
| 67 | %{__make} %{?_smp_mflags} |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %install |
---|
| 71 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 72 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 73 | |
---|
| 74 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 75 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 76 | |
---|
| 77 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
| 78 | |
---|
[6679] | 79 | %find_lang %{name} |
---|
[5311] | 80 | |
---|
| 81 | |
---|
| 82 | %clean |
---|
| 83 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 84 | |
---|
| 85 | %post |
---|
| 86 | /sbin/ldconfig |
---|
| 87 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 88 | |
---|
| 89 | %postun |
---|
| 90 | /sbin/ldconfig |
---|
| 91 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 92 | |
---|
| 93 | |
---|
[6679] | 94 | %files -f %{name}.lang |
---|
[5311] | 95 | %defattr(-,root,root,-) |
---|
| 96 | %doc COPYING ChangeLog NEWS README |
---|
| 97 | %{_bindir}/mate-about |
---|
| 98 | %{_libdir}/libmate-desktop-2.so.* |
---|
| 99 | %{_datadir}/applications/mate-about.desktop |
---|
| 100 | %{_datadir}/libmate-desktop/pnp.ids |
---|
| 101 | %{_datadir}/mate/help |
---|
[6679] | 102 | %{_datadir}/mate-about/mate-version.xml |
---|
[5311] | 103 | %{_mandir}/man1/mate-about.1.gz |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_includedir}/mate-desktop-2.0 |
---|
| 108 | %{_libdir}/libmate-desktop-2.so |
---|
| 109 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
| 110 | |
---|
| 111 | %files doc |
---|
| 112 | %defattr(-,root,root,-) |
---|
| 113 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | %changelog |
---|
[7064] | 117 | * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | - add BuildRequires: startup-notification-devel |
---|
| 120 | |
---|
[6679] | 121 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[6172] | 124 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 125 | - new upstream release |
---|
| 126 | - add BuildRequires: unique-devel |
---|
| 127 | |
---|
[5316] | 128 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 129 | - change category |
---|
| 130 | |
---|
[5311] | 131 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 132 | - initial build for Vine Linux |
---|
| 133 | |
---|