Name: 		xfce4-datetime-plugin
Summary:        Date and Time plugin for the Xfce4 panel
Summary(ja):    Xfce パネル用 日付プラグイン
Version:        0.6.2
Release: 	3%{?_dist_release}

Group: 		User Interface/Desktops
License:	GPLv2+
URL: 		http://goodies.xfce.org/projects/panel-plugins/%{name}

Source0: 	http://archive.xfce.org/src/panel-plugins/%{name}/0.6/%{name}-%{version}.tar.bz2

BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
BuildRequires:  gettext
BuildRequires:  gtk2-devel >= 2.24.0
BuildRequires:  intltool
BuildRequires:  libxfce4util-devel >= 4.8.0
BuildRequires:  libxfce4ui-devel >= 4.8.0
BuildRequires:  xfce4-panel-devel >= 4.8.0
Requires:       xfce4-panel >= 4.8.0

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	Takemikaduchi, inagaki


%description
This plugin shows the date and time in the panel, and a calendar appears when you left-click on it. 

%description -l ja
このプラグインはパネルに日付を表示し、左クリックすることでカレンダーが現れます。

%prep
%setup -q

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/xfce4/panel/plugins/libdatetime.so
%{_datadir}/xfce4/panel/plugins/datetime.desktop

%changelog
* Mon Mar  2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.5-2
- rebuilt with libxfce4util 4.12.1

* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.2-2
- modified libdatetime.so permission

* Wed Sep 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.2-1
- updated to 0.6.2

* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-2
- rebuild with VineSeed environment

* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
- initial build for Vine Linux

