]> git.pld-linux.org Git - packages/gadmintools-gproftpd.git/blob - gadmintools-gproftpd.spec
- corrected lang tag in Summary
[packages/gadmintools-gproftpd.git] / gadmintools-gproftpd.spec
1 # TODO:
2 # - please do a general checkup of this program
3 # - please note the patch and check it
4 # - ensure that everything actually works and is installed
5 #   as the install scripts are horrible in this package
6 # - lookup for other BR-s
7 %define         realname        gproftpd
8 Summary:        A GTK+ administation tool for the ProFTPD server
9 Summary(pl.UTF-8):      Narzędzie GTK+ do administracji serwerem ProFTPD
10 Name:           gadmintools-%{realname}
11 Version:        8.3.2
12 Release:        0.1
13 License:        GPL v2
14 Group:          Applications/System
15 Source0:        http://mange.dynalias.org/linux/gproftpd/%{realname}-%{version}.tar.gz
16 # Source0-md5:  0b8a06c4972a00b912b0afa3ae6ec539
17 Patch0:         %{name}-install.patch
18 URL:            http://mange.dynalias.org/linux.html
19 BuildRequires:  gtk+2-devel >= 1:2.0.0
20 BuildRequires:  pkgconfig
21 Requires:       proftpd
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GProFTPD is a fast and easy to use GTK+ administration tool for the
26 proftpd standalone server.
27
28 %description -l pl.UTF-8
29 GProFTPD jest szybkim i łatwym w użyciu narzędziem administracyjnym
30 dla serwera ProFTPD napisanym w GTK+.
31
32 %prep
33 %setup -q -n %{realname}-%{version}
34 %patch0 -p1
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{realname}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 /sbin/chkconfig --add %{name}
58 %service %{name} restart
59
60 %preun
61 if [ "$1" = "0" ]; then
62         %service -q %{name} stop
63         /sbin/chkconfig --del %{name}
64 fi
65
66 %files -f %{realname}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README TODO
69 %attr(755,root,root) %{_sbindir}/%{realname}
70 %attr(755,root,root) %{_sbindir}/gprostats
71 %dir %{_sysconfdir}/%{realname}
72 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{realname}/gproftpd.pem
73 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{realname}/gprotls.conf
74 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/%{realname}
75 %config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/%{realname}
76 %{_desktopdir}/%{realname}.desktop
77 %{_pixmapsdir}/*.png
78 %dir %{_pixmapsdir}/%{realname}
79 %{_pixmapsdir}/%{realname}/*.png
80 %{_pixmapsdir}/%{realname}/%{realname}36.xpm
This page took 0.060878 seconds and 3 git commands to generate.