]> git.pld-linux.org Git - packages/kannel.git/commitdiff
- worse than raw
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Mar 2003 12:24:48 +0000 (12:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kannel.spec -> 1.1

kannel.spec [new file with mode: 0644]

diff --git a/kannel.spec b/kannel.spec
new file mode 100644 (file)
index 0000000..8f547d5
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:       A catchy.net initiative to deliver a full-featured WAP browser
+Summary(pl):   Bramka WAP oraz SMS
+Name:          kannel
+Version:       1.2.0
+Release:       1
+License:       BSD
+Group:         Networking/Daemons
+URL:           http://www.kannel.org/
+Source0:       http://www.kannel.org/download/1.2.0/gateway-1.2.0.tar.gz
+Source1:       %{name}.init
+Prereq:                /sbin/chkconfig
+BuildRequires: openssl-devel
+BuildRequires: mysql-devel
+BuildRequires: libxml2-devel
+BuildRequires: jade
+BuildRequires: ImageMagick
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+WAP gateway.
+
+%description -l pl
+Bramka WAP.
+
+%prep
+%setup -q -n gateway-%{version}
+
+%build
+%configure2_13 \
+       --enable-cookies \
+       --with-ssl=%{_prefix} \
+       --enable-mysql \
+       --with-wtls=openssl
+
+touch .depend
+%{__make} depend
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
+install -d $RPM_BUILD_ROOT/home/httpd/html
+
+install mini_httpd     $RPM_BUILD_ROOT%{_sbindir}
+install        htpasswd        $RPM_BUILD_ROOT%{_bindir}/mini-htpasswd
+install *.1            $RPM_BUILD_ROOT%{_mandir}/man1
+install *.8            $RPM_BUILD_ROOT%{_mandir}/man8
+
+install index.html     $RPM_BUILD_ROOT/home/httpd/html
+install %{SOURCE1}     $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig %{name} reset
+/sbin/chkconfig --add %{name}
+
+%preun
+if [ "$1" = "0" ]; then
+       %{_sysconfdir}/rc.d/init.d/%{name} stop
+       /sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
+/home/httpd/html/index.html
+%attr(0755,root,root) /etc/rc.d/init.d/mini_httpd
+%{_mandir}/man*/*
This page took 0.071766 seconds and 4 git commands to generate.