Переглянути джерело

add vine5,6 theme

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8623 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 10 роки тому
батько
коміт
0a33786d98

+ 24 - 6
m/mate-notification-daemon/mate-notification-daemon-vl.spec

@@ -1,11 +1,19 @@
 Summary:	Notification daemon for MATE
 Name:		mate-notification-daemon
 Version:	1.8.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 
 Source0:	http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
 
-Patch0:		mate-notification-daemon-1.2.0-makefile.patch
+# vine theme (based on coco) and vine5 theme (old theme)
+# http://github.com/tatofoo/notification-daemon-engine-coco
+Source200: mate-notification-daemon-engine-vine.tar.xz
+
+# Vine patch
+# add vine and vine5 theme
+Patch1001: mate-notification-daemon-1.8.0-vine-theme.patch
+# change default to vine
+Patch1002: mate-notification-daemon-1.8.0-default-theme.patch
 
 License:	GPLv2
 Group:		System Environment/Libraries 
@@ -18,6 +26,7 @@ BuildRequires:	dbus-glib-devel
 BuildRequires:	libcanberra-devel
 BuildRequires:	libwnck-devel
 BuildRequires:	libnotify-devel
+BuildRequires:	libsexy-devel
 BuildRequires:	gtk-doc
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -38,12 +47,12 @@ Packager:	Takemikaduchi
 
 
 %prep
-%setup -q
-%patch0 -p1
-
+%setup -q -a 200
+%patch1001 -p1
+%patch1002 -p1
 
 %build
-(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
+autoreconf -if
 %configure \
 	--libexecdir=%{_libexecdir}/mate \
 	--disable-static \
@@ -92,6 +101,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 %{_libdir}/mate-notification-daemon/engines/libnodoka.so
 %{_libdir}/mate-notification-daemon/engines/libslider.so
 %{_libdir}/mate-notification-daemon/engines/libstandard.so
+%{_libdir}/mate-notification-daemon/engines/libvine.so
+%{_libdir}/mate-notification-daemon/engines/libvine5.so
 %{_libexecdir}/mate/mate-notification-daemon
 %{_datadir}/MateConf/gsettings/mate-notification-daemon.convert
 %{_datadir}/applications/mate-notification-properties.desktop
@@ -103,6 +114,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
+- remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
+- add Source200 (mate-notification-daemon-engine-vine.tar.xz)
+- add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch)
+- add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch)
+- add BuildRequires: libsexy-devel
+
 * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
 - new upstream release
 - change BuildRequires: libwnck-devel instead of libmatewnck-devel