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

Revision 7697, 4.7 KB checked in by Takemikaduchi, 11 years ago (diff)

Cinnamon 1.8.2 & MATE 1.6

Line 
1Summary:        Library with common API for various MATE modules
2Name:           mate-desktop
3Version:        1.6.1
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          User Interface/Desktops
8URL:            http://mate-desktop.org/
9
10# patch for Vine
11Patch1001:      mate-desktop-vine-settings.patch
12
13BuildRequires:  mate-common
14BuildRequires:  mate-doc-utils
15BuildRequires:  gtk2-devel
16BuildRequires:  unique-devel
17BuildRequires:  startup-notification-devel
18BuildRequires:  gtk-doc
19BuildRequires:  autoconf
20BuildRequires:  automake
21
22Requires(posttrans,postun):     glib2
23Requires(post,postun):  desktop-file-utils
24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Vendor:         Project Vine
28Distribution:   Vine Linux
29Packager:       Takemikaduchi
30
31
32%description
33mate-desktop contains the libmate-desktop library, the mate-about
34program as well as some desktop-wide documents.
35
36
37%package        devel
38Summary:        Development tools for mate-desktop
39Summary(ja):    mate-desktop の開発環境
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43
44%description    devel
45Header files and libraries for building a extension library for the
46mate-desktop.
47
48
49%package        doc
50Summary:        Documentation for mate-desktop
51Summary(ja):    mate-desktop 用のドキュメント
52Group:          Documentation
53Requires:       %{name} = %{version}-%{release}
54BuildArch:      noarch
55
56%description    doc
57This package contains documentation for mate-desktop.
58
59
60%prep
61%setup -q
62%patch1001 -p1 -b .vine
63
64
65%build
66(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
67%configure \
68        --disable-static \
69        --disable-scrollkeeper
70
71%{__make} %{?_smp_mflags}
72
73
74%install
75%{__rm} -rf ${RPM_BUILD_ROOT}
76%{__make} install DESTDIR=${RPM_BUILD_ROOT}
77
78find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
79find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
80
81%{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
82
83%find_lang %{name}
84
85
86%clean
87%{__rm} -rf ${RPM_BUILD_ROOT}
88
89%post
90/sbin/ldconfig
91update-desktop-database %{_datadir}/applications >& /dev/null ||:
92
93%postun
94/sbin/ldconfig
95if [ $1 -eq 0 ]; then
96  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
97  update-desktop-database %{_datadir}/applications >& /dev/null ||:
98fi
99
100%posttrans
101glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
102
103
104%files -f %{name}.lang
105%defattr(-,root,root,-)
106%doc COPYING ChangeLog NEWS README
107%{_bindir}/mate-about
108%{_libdir}/libmate-desktop-2.so.*
109%{_datadir}/MateConf/gsettings/mate-desktop.convert
110%{_datadir}/applications/mate-about.desktop
111%{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
112%{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
113%{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
114%{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
115%{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
116%{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
117%{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
118%{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
119%{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
120%{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
121%{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
122%{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
123%{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
124%{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
125%{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
126%{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
127%{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
128%{_datadir}/libmate-desktop/pnp.ids
129%{_datadir}/mate/help
130%{_datadir}/mate-about/mate-version.xml
131%{_mandir}/man1/mate-about.1.gz
132
133%files devel
134%defattr(-,root,root,-)
135%{_includedir}/mate-desktop-2.0
136%{_libdir}/libmate-desktop-2.so
137%{_libdir}/pkgconfig/mate-desktop-2.0.pc
138
139%files doc
140%defattr(-,root,root,-)
141%{_datadir}/gtk-doc/html/mate-desktop
142
143
144%changelog
145* Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
146- new upstream release
147- remove BuildRequires: mate-conf-devel
148- add Patch1001 (mate-desktop-vine-settings.patch)
149
150* Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
151- new upstream release
152- add BuildRequires: startup-notification-devel
153
154* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
155- new upstream release
156
157* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
158- new upstream release
159- add BuildRequires: unique-devel
160
161* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
162- change category
163
164* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
165- initial build for Vine Linux
166
Note: See TracBrowser for help on using the repository browser.