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

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