Summary: Hatena Diary Writer
Summary(ja): はてなダイアリーライター
Name: hatena-diary-writer
Version: 1.4.1
Release: 2%{?_dist_release}
License: Perl's
Group: Applications/Internet
URL: http://www.hyuki.com/techinfo/hatena_diary_writer.html
Source0: http://github.com/hyuki0000/hatena-diary-writer/raw/master/hw.pl
# Source1 from http://www.hyuki.com/techinfo/hatena_diary_writer.html
Source1: hws.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Requires: perl perl-libwww-perl perl-Crypt-SSLeay

Distribution: Vine Linux
Vendor:       Project Vine
Packager:     iwaim

%description
This package include:
 - Hatena Diary Writer (hw.pl)
 - Splitter for Hatena Diary Writer (hws.pl)

%description -l ja
このパッケージは次のスクリプトを含んでいます。
 - はてなダイアリーライター (hw.pl)
 - はてダラスプリッタ (hws.pl)

%prep
%setup -q -T -c %{name}-%{version}

%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_bindir}
%{__install} -m0755 %{SOURCE0} %{buildroot}%{_bindir}
%{__install} -m0755 %{SOURCE1} %{buildroot}%{_bindir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/hw.pl
%{_bindir}/hws.pl

%changelog
* Sun Feb 19 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.4.1
- rebuild

* Wed Apr  7 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.1-1
- initial build for Vine Linux

