source: projects/specs/trunk/lib/libm/libmatecanvas/libmatecanvas-vl.spec @ 6679

Revision 6679, 2.4 KB checked in by Takemikaduchi, 12 years ago (diff)

MATE-1.4.0

Line 
1Summary:        The MATE Canvas library
2Name:           libmatecanvas
3Version:        1.4.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          System Environment/Libraries
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  gtk2-devel
12BuildRequires:  libart_lgpl-devel
13BuildRequires:  libglade2-devel
14BuildRequires:  gtk-doc
15BuildRequires:  autoconf
16BuildRequires:  automake
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       Takemikaduchi
23
24
25%description
26This is the non-gui part of the library formerly known as
27mate-libs.
28
29
30%package        devel
31Summary:        Development tools for libmatecanvas
32Summary(ja):    libmatecanvas の開発環境
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Requires:       pkgconfig
36Requires:       gtk2-devel
37Requires:       pango-devel
38
39%description devel
40Header files and libraries for building a extension library for the
41libmatecanvas.
42
43
44%package        doc
45Summary:        Documentation for libmatecanvas
46Summary(ja):    libmatecanvas 用のドキュメント
47Group:          Documentation
48Requires:       %{name} = %{version}-%{release}
49BuildArch:      noarch
50
51%description    doc
52This 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
72find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
73find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
74
75%find_lang %{name}
76
77%clean
78%{__rm} -rf ${RPM_BUILD_ROOT}
79
80%post -p /sbin/ldconfig
81
82%postun -p /sbin/ldconfig
83
84%files -f %{name}.lang
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
103* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
104- new upstream release
105
106* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
107- new upstream release
108
109* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
110- initial build for Vine Linux
111
Note: See TracBrowser for help on using the repository browser.