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

RevLine 
[5311]1Summary:        The MATE Panel
2Name:           mate-panel
[7697]3Version:        1.6.0
[6172]4Release:        1%{?_dist_release}
5
[7697]6Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
[5311]7Source1:        vine-mate-panel-default-setup.entries
[6172]8
[5311]9License:        GPLv2
[5316]10Group:          User Interface/Desktops
[6679]11URL:            http://mate-desktop.org/
[5311]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
[6679]22BuildRequires:  libmatewnck-devel
[5311]23BuildRequires:  librsvg2-devel
24BuildRequires:  evolution-data-server-devel
25BuildRequires:  NetworkManager-devel
[7697]26BuildRequires:  dconf-devel
[5311]27BuildRequires:  gtk-doc
28BuildRequires:  autoconf
29BuildRequires:  automake
30
[7697]31Requires(posttrans,postun):     glib2
32Requires(post,postun):  gtk2
[5311]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
[6172]106%find_lang %{name}
[5311]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
[7697]117gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
[5311]118
119%postun
120/sbin/ldconfig
[7697]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 ||:
[5311]126fi
127
[7697]128%posttrans
129glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[5311]130
[7697]131
[6172]132%files -f %{name}.lang
[5311]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
[7697]138%{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
[5311]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
[7697]145%{_datadir}//MateConf/gsettings/mate-panel.convert
[5311]146%{_datadir}/applications/mate-panel.desktop
147%{_datadir}/dbus-1/services/*.service
[7697]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
[5311]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,-)
[7697]166%{_includedir}/mate-panel-4.0/
[5311]167%{_libdir}/libmate-panel-applet-*.so
[7697]168%{_libdir}/pkgconfig/libmatepanelapplet-4.0.pc
169%{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
[5311]170
171%files doc
172%defattr(-,root,root,-)
173%{_datadir}/gtk-doc/html/mate-panel-applet
174
175
176%changelog
[7697]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
[6679]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
[6172]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
[5316]191* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
192- change category
193
[5311]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.