[5311] | 1 | Summary: The MATE Canvas library |
---|
| 2 | Name: libmatecanvas |
---|
[6679] | 3 | Version: 1.4.0 |
---|
[5311] | 4 | Release: 1%{?_dist_release} |
---|
[6679] | 5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: gtk2-devel |
---|
| 12 | BuildRequires: libart_lgpl-devel |
---|
| 13 | BuildRequires: libglade2-devel |
---|
| 14 | BuildRequires: gtk-doc |
---|
| 15 | BuildRequires: autoconf |
---|
| 16 | BuildRequires: automake |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: Takemikaduchi |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This is the non-gui part of the library formerly known as |
---|
| 27 | mate-libs. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development tools for libmatecanvas |
---|
| 32 | Summary(ja): libmatecanvas の開発環境 |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Requires: pkgconfig |
---|
| 36 | Requires: gtk2-devel |
---|
| 37 | Requires: pango-devel |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | Header files and libraries for building a extension library for the |
---|
| 41 | libmatecanvas. |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %package doc |
---|
| 45 | Summary: Documentation for libmatecanvas |
---|
| 46 | Summary(ja): libmatecanvas 用のドキュメント |
---|
| 47 | Group: Documentation |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | BuildArch: noarch |
---|
| 50 | |
---|
| 51 | %description doc |
---|
| 52 | This package contains documentation for libmatecanvas. |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %prep |
---|
| 56 | %setup -q |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 61 | %configure \ |
---|
| 62 | --disable-static \ |
---|
| 63 | --enable-glade |
---|
| 64 | |
---|
| 65 | %{__make} %{?_smp_mflags} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %install |
---|
| 69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 70 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 71 | |
---|
| 72 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 73 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 74 | |
---|
[6172] | 75 | %find_lang %{name} |
---|
[5311] | 76 | |
---|
| 77 | %clean |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | %post -p /sbin/ldconfig |
---|
| 81 | |
---|
| 82 | %postun -p /sbin/ldconfig |
---|
| 83 | |
---|
[6172] | 84 | %files -f %{name}.lang |
---|
[5311] | 85 | %defattr(-,root,root,-) |
---|
| 86 | %doc COPYING.LIB ChangeLog NEWS README |
---|
| 87 | %{_libdir}/libmatecanvas-2.so.* |
---|
| 88 | %{_libdir}/libglade/2.0/libgladematecanvas.so |
---|
| 89 | |
---|
| 90 | %files devel |
---|
| 91 | %defattr(-,root,root,-) |
---|
| 92 | %{_includedir}/libmatecanvas-2.0 |
---|
| 93 | %{_libdir}/libmatecanvas-2.so |
---|
| 94 | %{_libdir}/pkgconfig/libmatecanvas-2.0.pc |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %files doc |
---|
| 98 | %defattr(-,root,root,-) |
---|
| 99 | %{_datadir}/gtk-doc/html/libmatecanvas |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[6679] | 103 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[6172] | 106 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[5311] | 109 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 110 | - initial build for Vine Linux |
---|
| 111 | |
---|