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

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

Cinnamon 1.8.2 & MATE 1.6

Line 
1Summary:        The MATE Panel
2Name:           mate-panel
3Version:        1.6.0
4Release:        1%{?_dist_release}
5
6Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
7Source1:        vine-mate-panel-default-setup.entries
8
9License:        GPLv2
10Group:          User Interface/Desktops
11URL:            http://mate-desktop.org/
12
13BuildRequires:  mate-common
14BuildRequires:  mate-doc-utils
15BuildRequires:  mate-desktop-devel
16BuildRequires:  mate-menus-devel
17BuildRequires:  libmateweather-devel
18BuildRequires:  gtk2-devel
19BuildRequires:  libSM-devel
20BuildRequires:  libcanberra-devel
21BuildRequires:  dbus-glib-devel
22BuildRequires:  libmatewnck-devel
23BuildRequires:  librsvg2-devel
24BuildRequires:  evolution-data-server-devel
25BuildRequires:  NetworkManager-devel
26BuildRequires:  dconf-devel
27BuildRequires:  gtk-doc
28BuildRequires:  autoconf
29BuildRequires:  automake
30
31Requires(posttrans,postun):     glib2
32Requires(post,postun):  gtk2
33Requires(post,postun):  desktop-file-utils
34
35BuildRoot:      %{_tmppath}/%{name}-%{version}-root
36
37Vendor:         Project Vine
38Distribution:   Vine Linux
39Packager:       Takemikaduchi
40
41
42%description
43mate-panel contains the MATE panel, the libmate-panel-applet library and
44several applets:
45
46  + the MATE panel is the area on your desktop from which you can run
47    applications and applets, and perform other tasks.
48
49  + the libmate-panel-applet library allows to develop small applications
50    which may be embedded in the panel. These are called applets.
51    Documentation for the API is available with gtk-doc.
52
53  + the applets supplied here include the Workspace Switcher, the Window
54    List, the Window Selector, the Notification Area, the Clock and the
55    infamous 'Wanda the Fish'.
56
57
58%package        devel
59Summary:        Development tools for mate-panel
60Summary(ja):    mate-panel の開発環境
61Group:          Development/Libraries
62Requires:       %{name} = %{version}-%{release}
63Requires:       pkgconfig
64
65%description    devel
66Header files and libraries for building a extension library for the
67mate-panel.
68
69
70%package        doc
71Summary:        Documentation for mate-panel
72Summary(ja):    mate-panel 用のドキュメント
73Group:          Documentation
74Requires:       %{name} = %{version}-%{release}
75BuildArch:      noarch
76
77%description    doc
78This package contains documentation for mate-panel.
79
80
81%prep
82%setup -q
83
84cp -f %{SOURCE1} mate-panel/panel-default-setup.entries
85
86%build
87(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
88%configure \
89        --libexecdir=%{_libexecdir}/mate \
90        --disable-static \
91        --disable-scrollkeeper \
92        --enable-introspection \
93        --enable-matecomponent
94
95%{__make} %{?_smp_mflags}
96
97
98%install
99%{__rm} -rf ${RPM_BUILD_ROOT}
100
101%{__make} install DESTDIR=${RPM_BUILD_ROOT}
102
103find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
104find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
105
106%find_lang %{name}
107
108
109%clean
110%{__rm} -rf ${RPM_BUILD_ROOT}
111
112
113%post
114/sbin/ldconfig
115update-desktop-database %{_datadir}/applications >& /dev/null ||:
116touch --no-create %{_datadir}/icons/hicolor
117gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
118
119%postun
120/sbin/ldconfig
121if [ $1 -eq 0 ]; then
122  update-desktop-database %{_datadir}/applications >& /dev/null ||:
123  touch --no-create %{_datadir}/icons/hicolor
124  gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
125  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
126fi
127
128%posttrans
129glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
130
131
132%files -f %{name}.lang
133%defattr(-,root,root,-)
134%doc COPYING ChangeLog NEWS README
135%{_bindir}/mate-desktop-item-edit
136%{_bindir}/mate-panel
137%{_bindir}/mate-panel-test-applets
138%{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
139%{_libdir}/libmate-panel-applet-*.so.*
140%{_libexecdir}/mate/clock-applet
141%{_libexecdir}/mate/fish-applet
142%{_libexecdir}/mate/mate-panel-add
143%{_libexecdir}/mate/notification-area-applet
144%{_libexecdir}/mate/wnck-applet
145%{_datadir}//MateConf/gsettings/mate-panel.convert
146%{_datadir}/applications/mate-panel.desktop
147%{_datadir}/dbus-1/services/*.service
148%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.clock.gschema.xml
149%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.fish.gschema.xml
150%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.window-list.gschema.xml
151%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.workspace-switcher.gschema.xml
152%{_datadir}/glib-2.0/schemas/org.mate.panel.enums.xml
153%{_datadir}/glib-2.0/schemas/org.mate.panel.gschema.xml
154%{_datadir}/glib-2.0/schemas/org.mate.panel.object.gschema.xml
155%{_datadir}/glib-2.0/schemas/org.mate.panel.toplevel.gschema.xml
156%{_datadir}/icons/hicolor/*/*/*
157%{_datadir}/mate/help
158%{_datadir}/mate-panel
159%{_datadir}/mate-panelrc
160%{_datadir}/omf/mate-applet-clock
161%{_datadir}/omf/mate-applet-fish
162%{_mandir}/man1/mate-panel.1.gz
163
164%files devel
165%defattr(-,root,root,-)
166%{_includedir}/mate-panel-4.0/
167%{_libdir}/libmate-panel-applet-*.so
168%{_libdir}/pkgconfig/libmatepanelapplet-4.0.pc
169%{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
170
171%files doc
172%defattr(-,root,root,-)
173%{_datadir}/gtk-doc/html/mate-panel-applet
174
175
176%changelog
177* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
178- new upstream release
179- remove BuildRequires: mate-conf-devel, libmatecomponentui-devel
180- add BuildRequires: dconf-devel
181
182* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
183- new upstream release
184- remove Patch0 (mate-panel-1.2.1-configure.patch)
185- change BuildRequires: libmatewnck-devel instead of libwnck-devel
186
187* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
188- new upstream release
189- add Patch0 (mate-panel-1.2.1-configure.patch)
190
191* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
192- change category
193
194* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
195- initial build for Vine Linux
196
Note: See TracBrowser for help on using the repository browser.