source: projects/specs/trunk/m/mate-desktop/mate-desktop-vl.spec @ 5316

Revision 5316, 2.6 KB checked in by Takemikaduchi, 12 years ago (diff)

mate: change category
fontconfig: rebuild
others: new upstream release

Line 
1Summary:        Library with common API for various MATE modules
2Name:           mate-desktop
3Version:        1.1.0
4Release:        2%{?_dist_release}
5Source0:        %{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          User Interface/Desktops
8URL:            https://matsusoft.com.ar/projects/mate/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  mate-conf-devel
13BuildRequires:  gtk2-devel
14BuildRequires:  gtk-doc
15BuildRequires:  autoconf
16BuildRequires:  automake
17
18Requires(post,postun):  desktop-file-utils
19
20BuildRoot:      %{_tmppath}/%{name}-%{version}-root
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26
27%description
28mate-desktop contains the libmate-desktop library, the mate-about
29program as well as some desktop-wide documents.
30
31
32%package        devel
33Summary:        Development tools for mate-desktop
34Summary(ja):    mate-desktop の開発環境
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38
39%description    devel
40Header files and libraries for building a extension library for the
41mate-desktop.
42
43
44%package        doc
45Summary:        Documentation for mate-desktop
46Summary(ja):    mate-desktop 用のドキュメント
47Group:          Documentation
48Requires:       %{name} = %{version}-%{release}
49BuildArch:      noarch
50
51%description    doc
52This 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
72find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
73find $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
85update-desktop-database %{_datadir}/applications >& /dev/null ||:
86
87%postun
88/sbin/ldconfig
89update-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
Note: See TracBrowser for help on using the repository browser.