summaryrefslogtreecommitdiff
path: root/porn-get.spec
blob: 12f947a383c4e041d1203617dc3c5526e0048bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Summary:	Advanced Package Tool for get sex-pictures from the net
Summary(pl):	Narzędzie do łatwego pobierania nieprzyzwoitych obrazków :-)
Name:		porn-get
Version:	0.4.0
Release:	2
License:	GPL
Group:		Applications/Archiving
Group(de):	Applikationen/Archivierung
Group(pl):	Aplikacje/Archiwizacja
Source0:	http://www.linuks.mine.nu/porn-get/%{name}-%{version}.tar.bz2
Patch0:		%{name}-filebyfile.patch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires:	bash
Requires:	wget
Requires:	lynx
BuildArch:	noarch

%description
Sexual education is important for humanity.

%description -l pl
Wiedza o seksie jest bardzo ważna dla społeczeństwa.

%prep
%setup -q
%patch -p0

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man1

install	porn-get	$RPM_BUILD_ROOT%{_bindir}
install porn-cache 	$RPM_BUILD_ROOT%{_bindir}
install porn.1	$RPM_BUILD_ROOT%{_mandir}/man1
gzip -9nf {readme,changelog}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%doc readme.gz changelog.gz