| 1 | Summary: The non-GUI part of the matecomponent component infrastructure for Mate |
|---|
| 2 | Name: libmatecomponent |
|---|
| 3 | Version: 1.1.0 |
|---|
| 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: mate-corba-devel |
|---|
| 12 | BuildRequires: glib2-devel |
|---|
| 13 | BuildRequires: libxml2-devel |
|---|
| 14 | BuildRequires: popt-devel |
|---|
| 15 | BuildRequires: bison |
|---|
| 16 | BuildRequires: flex |
|---|
| 17 | BuildRequires: gtk-doc |
|---|
| 18 | BuildRequires: autoconf |
|---|
| 19 | BuildRequires: automake |
|---|
| 20 | |
|---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 22 | |
|---|
| 23 | Vendor: Project Vine |
|---|
| 24 | Distribution: Vine Linux |
|---|
| 25 | Packager: Takemikaduchi |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | %description |
|---|
| 29 | libmatecomponent is the non-GUI part of the matecomponent component infrastructure, |
|---|
| 30 | it is most useful for creating aggregate interfaces & doing IPC |
|---|
| 31 | easily. It also contains a rather badly designed & implemented |
|---|
| 32 | per-system activation system. This needs re-writing & simplifying to |
|---|
| 33 | be per-display. |
|---|
| 34 | |
|---|
| 35 | %package devel |
|---|
| 36 | Summary: Development tools for libmatecomponent |
|---|
| 37 | Summary(ja): libmatecomponent の開発環境 |
|---|
| 38 | Group: Development/Libraries |
|---|
| 39 | Requires: %{name} = %{version}-%{release} |
|---|
| 40 | Requires: pkgconfig |
|---|
| 41 | |
|---|
| 42 | %description devel |
|---|
| 43 | Header files and libraries for building a extension library for the |
|---|
| 44 | libmatecomponent. |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | %package doc |
|---|
| 48 | Summary: Documentation for libmatecomponent |
|---|
| 49 | Summary(ja): libmatecomponent 用のドキュメント |
|---|
| 50 | Group: Documentation |
|---|
| 51 | Requires: %{name} = %{version}-%{release} |
|---|
| 52 | BuildArch: noarch |
|---|
| 53 | |
|---|
| 54 | %description doc |
|---|
| 55 | This package contains documentation for libmatecomponent. |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | %prep |
|---|
| 59 | %setup -q |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %build |
|---|
| 63 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
|---|
| 64 | %configure \ |
|---|
| 65 | --libexecdir=%{_libexecdir}/mate \ |
|---|
| 66 | --disable-static |
|---|
| 67 | |
|---|
| 68 | %{__make} %{?_smp_mflags} |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | %install |
|---|
| 72 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 73 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 74 | |
|---|
| 75 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
|---|
| 76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 77 | |
|---|
| 78 | %find_lang %{name}-2.0 |
|---|
| 79 | |
|---|
| 80 | %clean |
|---|
| 81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 82 | |
|---|
| 83 | %post -p /sbin/ldconfig |
|---|
| 84 | |
|---|
| 85 | %postun -p /sbin/ldconfig |
|---|
| 86 | |
|---|
| 87 | %files -f %{name}-2.0.lang |
|---|
| 88 | %defattr(-,root,root,-) |
|---|
| 89 | %doc COPYING COPYING.LIB ChangeLog NEWS README |
|---|
| 90 | %{_sysconfdir}/matecomponent-activation/matecomponent-activation-config.xml |
|---|
| 91 | %{_bindir}/matecomponent-activation-client |
|---|
| 92 | %{_bindir}/matecomponent-activation-run-query |
|---|
| 93 | %{_bindir}/matecomponent-echo-client-2 |
|---|
| 94 | %{_bindir}/matecomponent-slay |
|---|
| 95 | %{_libdir}/libmatecomponent-*.so.* |
|---|
| 96 | %{_libdir}/matecomponent |
|---|
| 97 | %{_libdir}/matecomponent-2.0 |
|---|
| 98 | %{_libdir}/matecorba-2.0 |
|---|
| 99 | %{_libexecdir}/mate/matecomponent-activation-server |
|---|
| 100 | %{_sbindir}/matecomponent-activation-sysconf |
|---|
| 101 | %{_datadir}/idl/matecomponent-2.0 |
|---|
| 102 | %{_datadir}/idl/matecomponent-activation-2.0 |
|---|
| 103 | %{_mandir}/man1/matecomponent-activation-server.1.gz |
|---|
| 104 | |
|---|
| 105 | %files devel |
|---|
| 106 | %defattr(-,root,root,-) |
|---|
| 107 | %{_includedir}/libmatecomponent-2.0 |
|---|
| 108 | %{_includedir}/matecomponent-activation-2.0 |
|---|
| 109 | %{_libdir}/libmatecomponent-*.so |
|---|
| 110 | %{_libdir}/pkgconfig/libmatecomponent-2.0.pc |
|---|
| 111 | %{_libdir}/pkgconfig/matecomponent-activation-2.0.pc |
|---|
| 112 | |
|---|
| 113 | %files doc |
|---|
| 114 | %defattr(-,root,root,-) |
|---|
| 115 | %{_datadir}/gtk-doc/html/libmatecomponent |
|---|
| 116 | %{_datadir}/gtk-doc/html/matecomponent-activation |
|---|
| 117 | |
|---|
| 118 | |
|---|
| 119 | %changelog |
|---|
| 120 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
|---|
| 121 | - initial build for Vine Linux |
|---|
| 122 | |
|---|