1 | Summary: Library with common API for various MATE modules |
---|
2 | Name: mate-desktop |
---|
3 | Version: 1.2.0 |
---|
4 | Release: 1%{?_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: unique-devel |
---|
15 | BuildRequires: gtk-doc |
---|
16 | BuildRequires: autoconf |
---|
17 | BuildRequires: automake |
---|
18 | |
---|
19 | Requires(post,postun): desktop-file-utils |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | |
---|
28 | %description |
---|
29 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
30 | program as well as some desktop-wide documents. |
---|
31 | |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development tools for mate-desktop |
---|
35 | Summary(ja): mate-desktop の開発環境 |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: pkgconfig |
---|
39 | |
---|
40 | %description devel |
---|
41 | Header files and libraries for building a extension library for the |
---|
42 | mate-desktop. |
---|
43 | |
---|
44 | |
---|
45 | %package doc |
---|
46 | Summary: Documentation for mate-desktop |
---|
47 | Summary(ja): mate-desktop 用のドキュメント |
---|
48 | Group: Documentation |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | BuildArch: noarch |
---|
51 | |
---|
52 | %description doc |
---|
53 | This package contains documentation for mate-desktop. |
---|
54 | |
---|
55 | |
---|
56 | %prep |
---|
57 | %setup -q |
---|
58 | |
---|
59 | |
---|
60 | %build |
---|
61 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
62 | %configure \ |
---|
63 | --disable-static \ |
---|
64 | --disable-scrollkeeper |
---|
65 | |
---|
66 | %{__make} %{?_smp_mflags} |
---|
67 | |
---|
68 | |
---|
69 | %install |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
72 | |
---|
73 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
74 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
75 | |
---|
76 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf |
---|
77 | |
---|
78 | %find_lang %{name}-2.0 |
---|
79 | |
---|
80 | |
---|
81 | %clean |
---|
82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
83 | |
---|
84 | %post |
---|
85 | /sbin/ldconfig |
---|
86 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
87 | |
---|
88 | %postun |
---|
89 | /sbin/ldconfig |
---|
90 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
91 | |
---|
92 | |
---|
93 | %files -f %{name}-2.0.lang |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %doc COPYING ChangeLog NEWS README |
---|
96 | %{_bindir}/mate-about |
---|
97 | %{_libdir}/libmate-desktop-2.so.* |
---|
98 | %{_datadir}/applications/mate-about.desktop |
---|
99 | %{_datadir}/libmate-desktop/pnp.ids |
---|
100 | %{_datadir}/mate/help |
---|
101 | %{_datadir}/pixmaps/* |
---|
102 | %{_mandir}/man1/mate-about.1.gz |
---|
103 | |
---|
104 | %files devel |
---|
105 | %defattr(-,root,root,-) |
---|
106 | %{_includedir}/mate-desktop-2.0 |
---|
107 | %{_libdir}/libmate-desktop-2.so |
---|
108 | %{_libdir}/pkgconfig/mate-desktop-2.0.pc |
---|
109 | |
---|
110 | %files doc |
---|
111 | %defattr(-,root,root,-) |
---|
112 | %{_datadir}/gtk-doc/html/mate-desktop |
---|
113 | |
---|
114 | |
---|
115 | %changelog |
---|
116 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
117 | - new upstream release |
---|
118 | - add BuildRequires: unique-devel |
---|
119 | |
---|
120 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
121 | - change category |
---|
122 | |
---|
123 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
124 | - initial build for Vine Linux |
---|
125 | |
---|