1 | Summary: Library with common API for various MATE modules |
---|
2 | Name: mate-desktop |
---|
3 | Version: 1.1.0 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-doc-utils |
---|
12 | BuildRequires: mate-conf-devel |
---|
13 | BuildRequires: gtk2-devel |
---|
14 | BuildRequires: gtk-doc |
---|
15 | BuildRequires: autoconf |
---|
16 | BuildRequires: automake |
---|
17 | |
---|
18 | Requires(post,postun): desktop-file-utils |
---|
19 | |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: Takemikaduchi |
---|
25 | |
---|
26 | |
---|
27 | %description |
---|
28 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
29 | program as well as some desktop-wide documents. |
---|
30 | |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Development tools for mate-desktop |
---|
34 | Summary(ja): mate-desktop の開発環境 |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | Requires: pkgconfig |
---|
38 | |
---|
39 | %description devel |
---|
40 | Header files and libraries for building a extension library for the |
---|
41 | mate-desktop. |
---|
42 | |
---|
43 | |
---|
44 | %package doc |
---|
45 | Summary: Documentation for mate-desktop |
---|
46 | Summary(ja): mate-desktop 用のドキュメント |
---|
47 | Group: Documentation |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | BuildArch: noarch |
---|
50 | |
---|
51 | %description doc |
---|
52 | This package contains documentation for mate-desktop. |
---|
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 | --disable-scrollkeeper |
---|
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 | |
---|
75 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
76 | |
---|
77 | %find_lang %{name}-2.0 |
---|
78 | |
---|
79 | |
---|
80 | %clean |
---|
81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
82 | |
---|
83 | %post |
---|
84 | /sbin/ldconfig |
---|
85 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
86 | |
---|
87 | %postun |
---|
88 | /sbin/ldconfig |
---|
89 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
90 | |
---|
91 | |
---|
92 | %files -f %{name}-2.0.lang |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %doc COPYING ChangeLog NEWS README |
---|
95 | %{_bindir}/mate-about |
---|
96 | %{_libdir}/libmate-desktop-2.so.* |
---|
97 | %{_datadir}/applications/mate-about.desktop |
---|
98 | %{_datadir}/libmate-desktop/pnp.ids |
---|
99 | %{_datadir}/mate/help |
---|
100 | %{_datadir}/pixmaps/* |
---|
101 | %{_mandir}/man1/mate-about.1.gz |
---|
102 | |
---|
103 | %files devel |
---|
104 | %defattr(-,root,root,-) |
---|
105 | %{_includedir}/mate-desktop-2.0 |
---|
106 | %{_libdir}/libmate-desktop-2.so |
---|
107 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
108 | |
---|
109 | %files doc |
---|
110 | %defattr(-,root,root,-) |
---|
111 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
112 | |
---|
113 | |
---|
114 | %changelog |
---|
115 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
116 | - change category |
---|
117 | |
---|
118 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
119 | - initial build for Vine Linux |
---|
120 | |
---|