]> git.pld-linux.org Git - SPECS.git/blob - squirrelmail-plugin-retrieveuserdata.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / squirrelmail-plugin-retrieveuserdata.spec
1 %define         _plugin retrieveuserdata
2 %define         mversion        1.4.0
3 Summary:        Plugin for retrieving user data from external sources
4 Summary(pl.UTF-8):      Wtyczka do pobierania danych użytkowników z zewnętrznych źródeł
5 Name:           squirrelmail-plugin-%{_plugin}
6 Version:        0.9
7 Release:        1
8 License:        GPL
9 Group:          Applications/Mail
10 Source0:        http://www.squirrelmail.org/plugins/%{_plugin}.%{version}-%{mversion}.tar.gz
11 # Source0-md5:  dfe469f7ab473fd2292b30800e3141d5
12 Patch0:         %{name}-passwd.patch
13 URL:            http://www.squirrelmail.org/plugin_view.php?id=11
14 Requires:       squirrelmail >= 1.4.6-2
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _plugindir      %{_datadir}/squirrelmail/plugins/%{_plugin}
19 %define         _sysconfdir     /etc/webapps/squirrelmail
20
21 %description
22 This plugin retrieves the full name and the email address of a
23 SquirrelMail user from an external source and writes them to the
24 user's preferences. Your users don't have to enter their name and
25 email address before they write their first email.
26
27 %description -l pl.UTF-8
28 Ta wtyczka pobiera pełne imię i nazwisko oraz adres email użytkownika
29 Wiewiórczej Poczty z zewnętrznego źródła i zapisuje je w ustawieniach.
30 Użytkownicy nie będą musieli wpisywać swoich danych przed wysłaniem
31 swojego pierwszego maila.
32
33 %prep
34 %setup -q -n %{_plugin}
35 %patch0 -p0
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir}
40
41 mv config.php $RPM_BUILD_ROOT%{_sysconfdir}/%{_plugin}_config.php
42 install *.php $RPM_BUILD_ROOT%{_plugindir}
43 ln -s %{_sysconfdir}/%{_plugin}_config.php $RPM_BUILD_ROOT%{_plugindir}/config.php
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc INSTALL users_example.txt
51 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{_plugin}_config.php
52 %dir %{_plugindir}
53 %{_plugindir}/*.php
This page took 0.041561 seconds and 3 git commands to generate.