File dailystrips.spec of Package dailystrips

#
# spec file for package dailystrips (Version 1.0.28)
#
# Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

Summary: A Perl script to automatically download your favorite online comics
Name: dailystrips
Version: 1.0.28
Release: 1
Source0: %{name}-%{version}.tar.bz2
Vendor: %{vendor}
URL: http://dailystrips.sourceforge.net
License: GPL
Requires: perl >= %{perl_version}
BuildArch: noarch
Group: Amusements/Toys/Graphics
BuildRoot: %{_builddir}/%{name}-%{version}-build

%description
Dailystrips is a perl script to automatically download
your favorite online comics from the web.

It currently supports over 500 comics and offers a
'local' mode in which strips are downloaded and saved
locally to speed access time.

%prep
%setup -q

%build

%install
perl install.pl --verbose \
	--scriptdir=%{buildroot}%{_bindir} \
	--sharedir=%{buildroot}%{_datadir}/%name \
	--docdir=%{buildroot}%{_docdir}
#install -d -m 0755 %{buildroot}/%{_bindir}
#install -m 0755 shanty %{buildroot}/%{_bindir}/
#
#install -d -m 0755 %{buildroot}/%{_docdir}/%{name}
#install -m 0644 changelog.txt %{buildroot}/%{_docdir}/%{name}
#install -m 0644 licence.txt %{buildroot}/%{_docdir}/%{name}
#install -m 0644 manual.txt %{buildroot}/%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(0644,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%attr(0755,root,root)%{_bindir}/%{name}-clean
%attr(0755,root,root)%{_bindir}/%{name}-update
%dir %attr(0755,root,root)%{_datadir}/%name
%{_datadir}/%name/archive.def
%{_datadir}/%name/strips.def
%dir %attr(0755,root,root)%{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/BUGS
%doc %{_docdir}/%{name}-%{version}/CHANGELOG
%doc %{_docdir}/%{name}-%{version}/CONTRIBUTORS
%doc %{_docdir}/%{name}-%{version}/COPYING
%doc %{_docdir}/%{name}-%{version}/README
%doc %{_docdir}/%{name}-%{version}/README.DEFS
%doc %{_docdir}/%{name}-%{version}/README.LOCAL
%doc %{_docdir}/%{name}-%{version}/TODO
%exclude %{_docdir}/%{name}-%{version}/INSTALL


%changelog
* Thu Aug 27 2009 Mario GarcĂ­a H. <code933k@gmail.com> - 1.0.28
- Initial package.
openSUSE Build Service is sponsored by