SPECS: slimrat.spec (NEW) - new

duddits duddits at pld-linux.org
Sun Jan 18 18:53:36 CET 2009


Author: duddits                      Date: Sun Jan 18 17:53:36 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   slimrat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/slimrat.spec
diff -u /dev/null SPECS/slimrat.spec:1.1
--- /dev/null	Sun Jan 18 18:53:36 2009
+++ SPECS/slimrat.spec	Sun Jan 18 18:53:31 2009
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without  gui	# build without GUI
+#
+Summary:	Utility for downloading files from Rapidshare
+Summary(pl.UTF-8):	Program do pobierania plików z Rapidshare
+Name:		slimrat
+Version:	0.9.2
+Release:	0.1
+License:	MIT License
+Group:		Applications
+Source0:	http://slimrat.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	17c5adf94b9464edaa881aa2e6c98448
+URL:		http://code.google.com/p/slimrat/
+Requires:	perl
+Requires:	perl(Getopt::Long)
+%if %{with gui}
+Requires:	gtk+2
+Requires:	perl(Gtk2::GladeXML)
+Requires:	perl(Gtk2::SimpleList)
+%endif
+Requires:	perl(LWP::UserAgent)
+Requires:	perl(Term::ANSIColor)
+Requires:	perl(WWW::Mechanize)
+Requires:	wget
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Command line and GUI utility for downloading files from Rapidshare
+(Free) on Linux. Written in perl, uses wget and GTK GUI.
+
+%description -l pl.UTF-8
+Program do pobierania plików z Rapidshare (Free), wersja konsolowa i
+GUI dla Linuksa. Aplikacja napisana w perlu, korzysta z wget i GTK
+GUI.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
+install slimrat $RPM_BUILD_ROOT%{_bindir}
+%if %{with gui}
+install slimrat-gui $RPM_BUILD_ROOT%{_bindir}
+%endif
+install Plugin.pm $RPM_BUILD_ROOT%{_datadir}/%{name}
+install slimrat.glade $RPM_BUILD_ROOT%{_datadir}/%{name}
+install plugins/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/plugins
+%{_datadir}/%{name}/Plugin.pm
+%{_datadir}/%{name}/slimrat.glade
+%{_datadir}/%{name}/plugins/*.pm
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/01/18 17:53:31  duddits
+- new
+
================================================================


More information about the pld-cvs-commit mailing list