| [5311] | 1 | Summary: User Interface library for MateComponent |
|---|
| 2 | Name: libmatecomponentui |
|---|
| 3 | Version: 1.1.1 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | Source0: %{name}-%{version}.tar.xz |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | URL: https://matsusoft.com.ar/projects/mate/ |
|---|
| 9 | |
|---|
| 10 | BuildRequires: mate-common |
|---|
| 11 | BuildRequires: libmate-devel |
|---|
| 12 | BuildRequires: libmatecanvas-devel |
|---|
| 13 | BuildRequires: libmatecomponent-devel |
|---|
| 14 | BuildRequires: mate-corba-devel |
|---|
| 15 | BuildRequires: mate-conf-devel |
|---|
| 16 | BuildRequires: gtk2-devel |
|---|
| 17 | BuildRequires: libxml2-devel |
|---|
| 18 | BuildRequires: libSM-devel |
|---|
| 19 | BuildRequires: popt-devel |
|---|
| 20 | BuildRequires: libglade2-devel |
|---|
| 21 | BuildRequires: gtk-doc |
|---|
| 22 | BuildRequires: autoconf |
|---|
| 23 | BuildRequires: automake |
|---|
| 24 | |
|---|
| 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 26 | |
|---|
| 27 | Vendor: Project Vine |
|---|
| 28 | Distribution: Vine Linux |
|---|
| 29 | Packager: Takemikaduchi |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | %description |
|---|
| 33 | MateComponent is a set of language and system independant CORBA interfaces |
|---|
| 34 | for creating reusable components, controls and creating compound |
|---|
| 35 | documents. |
|---|
| 36 | |
|---|
| 37 | The MateComponent distribution includes a Gtk+ based implementation of the |
|---|
| 38 | MateComponent interfaces, enabling developers to create reusable |
|---|
| 39 | components and applications that can be used to form more complex |
|---|
| 40 | documents. |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %package devel |
|---|
| 44 | Summary: Development tools for libmatecomponentui |
|---|
| 45 | Summary(ja): libmatecomponentui の開発環境 |
|---|
| 46 | Group: Development/Libraries |
|---|
| 47 | Requires: %{name} = %{version}-%{release} |
|---|
| 48 | Requires: pkgconfig |
|---|
| 49 | Requires: mate-corba-devel |
|---|
| 50 | Requires: libxml2-devel |
|---|
| 51 | |
|---|
| 52 | %description devel |
|---|
| 53 | Header files and libraries for building a extension library for the |
|---|
| 54 | libmatecomponentui. |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %package doc |
|---|
| 58 | Summary: Documentation for libmatecomponentui |
|---|
| 59 | Summary(ja): libmatecomponentui 用のドキュメント |
|---|
| 60 | Group: Documentation |
|---|
| 61 | Requires: %{name} = %{version}-%{release} |
|---|
| 62 | BuildArch: noarch |
|---|
| 63 | |
|---|
| 64 | %description doc |
|---|
| 65 | This package contains documentation for libmatecomponentui. |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | %prep |
|---|
| 69 | %setup -q |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | %build |
|---|
| 73 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
|---|
| 74 | %configure \ |
|---|
| 75 | --disable-static |
|---|
| 76 | |
|---|
| 77 | %{__make} %{?_smp_mflags} |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | %install |
|---|
| 81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 83 | |
|---|
| 84 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
|---|
| 85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 86 | |
|---|
| 87 | %find_lang %{name}-2.0 |
|---|
| 88 | |
|---|
| 89 | %clean |
|---|
| 90 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 91 | |
|---|
| 92 | %post -p /sbin/ldconfig |
|---|
| 93 | |
|---|
| 94 | %postun -p /sbin/ldconfig |
|---|
| 95 | |
|---|
| 96 | %files -f %{name}-2.0.lang |
|---|
| 97 | %defattr(-,root,root,-) |
|---|
| 98 | %doc COPYING COPYING.LIB ChangeLog NEWS README |
|---|
| 99 | %{_bindir}/mate-test-moniker |
|---|
| 100 | %{_bindir}/matecomponent-browser |
|---|
| 101 | %{_libdir}/libmatecomponentui-2.so.* |
|---|
| 102 | %{_libdir}/libglade/2.0/libmatecomponent.so |
|---|
| 103 | %{_libdir}/matecomponent/servers/*.server |
|---|
| 104 | %{_libdir}/matecomponent-2.0/samples/matecomponent-sample-controls-2 |
|---|
| 105 | %{_datadir}/applications/matecomponent-browser.desktop |
|---|
| 106 | %{_datadir}/mate-2.0/ui/*.xml |
|---|
| 107 | |
|---|
| 108 | %files devel |
|---|
| 109 | %defattr(-,root,root,-) |
|---|
| 110 | %{_includedir}/libmatecomponentui-2.0 |
|---|
| 111 | %{_libdir}/libmatecomponentui-2.so |
|---|
| 112 | %{_libdir}/pkgconfig/libmatecomponentui-2.0.pc |
|---|
| 113 | |
|---|
| 114 | %files doc |
|---|
| 115 | %defattr(-,root,root,-) |
|---|
| 116 | %{_datadir}/gtk-doc/html/libmatecomponentui |
|---|
| 117 | |
|---|
| 118 | |
|---|
| 119 | %changelog |
|---|
| 120 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
|---|
| 121 | - initial build for Vine Linux |
|---|
| 122 | |
|---|