]> git.pld-linux.org Git - SPECS.git/blob - pimppa.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / pimppa.spec
1 Summary:        A toolkit to hoard binaries
2 Summary(pl.UTF-8):      Zestaw narzędzi do zbierania binariów
3 Name:           pimppa
4 Version:        0.5.2
5 Release:        2
6 License:        GPL
7 Group:          Networking/News
8 Source0:        http://dl.sourceforge.net/pimppa/%{name}-%{version}.tar.gz
9 # Source0-md5:  4e8d1db0fac7f49ce90d57ac97c3b130
10 URL:            http://pimppa.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gnome-libs-devel
14 BuildRequires:  gtk+-devel
15 BuildRequires:  mysql-devel >= 3.22.30
16 Requires:       mysql >= 3.22.30
17 Requires:       suck >= 4.2.2
18 Requires:       uudeview >= 0.5.13
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 PIMPPA automates leeching files from newsgroups and FTP sites, with
23 decoding, duplicate discarding, simple spam skip heuristics, sorting
24 to predefined directories and further file processing. The keyword is
25 "minimal user interaction".
26
27 It is NOT a newsreader or FTP client, and can't be used for manual
28 article reading or site browsing.
29
30 %description -l pl.UTF-8
31 PIMPPA automatyzuje ściąganie plików z grup usenetowych i serwerów
32 FTP, wraz z dekodowaniem, usuwaniem duplikatów, heurystycznym
33 pomijaniem spamu, sortowaniem do predefiniowanych katalogów i dalszą
34 obróbką plików. Słowem kluczowym jest "minimalna interakcja
35 użytkownika".
36
37 To NIE jest czytnik newsów ani klient FTP, nie może być używany do
38 ręcznego czytania postów ani przeglądania serwerów.
39
40 %prep
41 %setup -q
42
43 %build
44 rm -f missing
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 if mysqlshow -u pimppa pimppa 1>/dev/null 2>/dev/null ; then
63         echo
64         echo "It seems you're upgrading, as pimppa MySQL tables seem to"
65         echo "already exist. I won't recreate them."
66         echo
67         echo You MUST read %{_docdir}/%{name}-%{version}/ChangeLog to see
68         echo if you have to perform some actions manually in this upgrade.
69         echo
70         echo
71 else
72         echo
73         echo Installing PIMPPA MySQL database, db user and tables.
74         OLDDIR=`pwd`
75         cd %{_datadir}/pimppa/extras
76         /bin/sh ./createdb
77         cd $OLDDIR
78 fi
79
80 %files
81 %defattr(644,root,root,755)
82 %doc FAQ README TODO ChangeLog
83
84 %attr(755,root,root) %{_bindir}/padddir
85 %attr(755,root,root) %{_bindir}/padopt
86 %attr(755,root,root) %{_bindir}/passign
87 %attr(755,root,root) %{_bindir}/pbackup
88 %attr(755,root,root) %{_bindir}/pcfg
89 %attr(755,root,root) %{_bindir}/pchkfn
90 %attr(755,root,root) %{_bindir}/pclean
91 %attr(755,root,root) %{_bindir}/pdesc
92 %attr(755,root,root) %{_bindir}/pf
93 %attr(755,root,root) %{_bindir}/prm
94 %attr(755,root,root) %{_bindir}/pleech
95 %attr(755,root,root) %{_bindir}/pmarkoff
96 %attr(755,root,root) %{_bindir}/pmd5sum
97 %attr(755,root,root) %{_bindir}/pmv
98 %attr(755,root,root) %{_bindir}/pmv3
99 %attr(755,root,root) %{_bindir}/pnewarea
100 %attr(755,root,root) %{_bindir}/pnewgrp
101 %attr(755,root,root) %{_bindir}/ptest
102 %attr(755,root,root) %{_bindir}/ptrans
103
104 %attr(755,root,root) %{_bindir}/p_areas
105 %attr(755,root,root) %{_bindir}/p_con
106 %attr(755,root,root) %{_bindir}/p_groups
107 %attr(755,root,root) %{_bindir}/p_gtog
108 %attr(755,root,root) %{_bindir}/p_loc
109 %attr(755,root,root) %{_bindir}/p_maint
110 %attr(755,root,root) %{_bindir}/p_size
111 %attr(755,root,root) %{_bindir}/pngcrush.stub
112 %attr(755,root,root) %{_bindir}/pv_desc
113 %attr(755,root,root) %{_bindir}/pv_last
114 %attr(755,root,root) %{_bindir}/pv_name
115 %attr(755,root,root) %{_bindir}/pv_since
116 %attr(755,root,root) %{_bindir}/pv_sql
117 %attr(755,root,root) %{_bindir}/rc2sql
118 %attr(755,root,root) %{_bindir}/viewdeep
119
120 %attr(755,root,root) %{_bindir}/bowser
121
122 %{_datadir}/pimppa
This page took 0.061559 seconds and 3 git commands to generate.