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

Revision 6172, 2.8 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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