]> git.pld-linux.org Git - packages/VOCP.git/blobdiff - VOCP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/VOCP.git] / VOCP.spec
index 15493f47f3458ecd1efe9007b45d1389a840614c..5434f00fffdeab365334f9ca2a95af393cadaaea 100644 (file)
--- a/VOCP.spec
+++ b/VOCP.spec
 # -fix BR, for each package
 # -try runing on perl-5.6.1
 
-%include        /usr/lib/rpm/macros.perl
 
-%define         _vocpwebdir     /home/services/httpd/html/vocp
+%define                _vocpwebdir     /home/services/httpd/html/vocp
 
 Summary:       VOCP is a complete messaging solution for voice modems
-Summary(pl):   VOCP to pe³na obs³uga wiadomo¶ci dla modemów g³osowych
+Summary(pl.UTF-8):     VOCP to pełna obsługa wiadomości dla modemów głosowych
 Name:          VOCP
 Version:       0.9.3
 Release:       0.1
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://dl.sourceforge.net/vocp/%{name}-%{version}.tar.bz2
+# Source0-md5: 1a570a1f5af11786b39f6aed4304b5c3
 Source1:       %{name}.logrotate
 Patch0:                %{name}-vars.patch
 Patch1:                %{name}-bin.patch
 Patch2:                %{name}-vocpweb.patch
 Patch3:                %{name}-doc.patch
 URL:           http://www.vocpsystem.com/
-Requires:      perl-Modem-Vgetty
 Requires:      festival
-Requires:      logrotate
 Requires:      lame
+Requires:      logrotate
+Requires:      perl-Modem-Vgetty
 Requires:      vorbis-tools
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,32 +42,32 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Much more than an answering machine, VOCP transforms your computer
 into a full-featured call answering and voice messaging system.
 
-%description -l pl
-VOCP to du¿o wiêcej ni¿ automatyczna sekretarka - zamienia komputer na
-w pe³ni funkcjonalny system odpowiedzi i komunikatów g³osowych.
+%description -l pl.UTF-8
+VOCP to dużo więcej niż automatyczna sekretarka - zamienia komputer na
+w pełni funkcjonalny system odpowiedzi i komunikatów głosowych.
 
 %package perl-modules
 Summary:       Perl modules for VOCP
-Summary(pl):   Modu³y Perla dla VOCP
+Summary(pl.UTF-8):     Moduły Perla dla VOCP
 Group:         Applications/Communications
 Requires:      perl >= 5.8.0
 
 %description perl-modules
 Perl modules for VOCP.
 
-%description perl-modules -l pl
-Modu³y Perla dla VOCP.
+%description perl-modules -l pl.UTF-8
+Moduły Perla dla VOCP.
 
 %package vocpweb
 Summary:       Web GUI for VOCP
-Summary(pl):   Interfejs graficzny WWW dla VOCP
+Summary(pl.UTF-8):     Interfejs graficzny WWW dla VOCP
 Group:         Applications/Communications
 Requires:      %{name}-perl-modules
 
 %description vocpweb
 Web GUI for VOCP.
 
-%description vocpweb -l pl
+%description vocpweb -l pl.UTF-8
 Interfejs graficzny WWW dla VOCP.
 
 %prep
@@ -89,12 +89,12 @@ cd ../VOCP
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/vocp \
-        $RPM_BUILD_ROOT%{_datadir}/vocp/{images,messages,run,sounds,lib} \
-        $RPM_BUILD_ROOT%{_var}/spool/voice/{commands,incoming/cache,messages} \
-        $RPM_BUILD_ROOT%{_bindir} \
-        $RPM_BUILD_ROOT%{_vocpwebdir}/{img,sounds,tpl} \
-        $RPM_BUILD_ROOT/etc/logrotate.d \
-        $RPM_BUILD_ROOT/var/log
+       $RPM_BUILD_ROOT%{_datadir}/vocp/{images,messages,run,sounds,lib} \
+       $RPM_BUILD_ROOT%{_var}/spool/voice/{commands,incoming/cache,messages} \
+       $RPM_BUILD_ROOT%{_bindir} \
+       $RPM_BUILD_ROOT%{_vocpwebdir}/{img,sounds,tpl} \
+       $RPM_BUILD_ROOT/etc/logrotate.d \
+       $RPM_BUILD_ROOT/var/log
 
 %{__make} install -C prog/VOCP \
        DESTDIR=$RPM_BUILD_ROOT
@@ -121,31 +121,35 @@ callcenter.pl convert_fax.sh email2vm.pl pvftoogg \
 pwcheck.pl txttopvf vocplocal.pl xfer_to_vocp \
 cnd-logger.pl cryptpass.pl messages.pl pwcheck \
 view_fax.sh wav2rmd.pl xfer_to_vocp.pl ../vocp.pl; do
-        install prog/bin/$i $RPM_BUILD_ROOT%{_bindir}
+       install prog/bin/$i $RPM_BUILD_ROOT%{_bindir}
 done
 for i in boxes.conf boxes.conf.sample boxes.conf.shadow cid-filter.conf vocp.conf; do
-        install prog/$i $RPM_BUILD_ROOT%{_sysconfdir}/vocp
+       install prog/$i $RPM_BUILD_ROOT%{_sysconfdir}/vocp
 done
 
+install prog/lib/XVOCP.pm $RPM_BUILD_ROOT%{perl_vendorlib}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README INSTALL CHANGELOG prog/bin/README-bin doc
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vocp/*
+%doc INSTALL CHANGELOG prog/bin/README-bin doc/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vocp/*
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/vocp
 %attr(1777,root,root) %dir /var/spool/voice/incoming/cache
 %attr(755,root,root) /var/spool/voice/commands/*
 %{_var}/spool/voice/messages/*
-%attr(640,root,root) %config(noreplace) /etc/logrotate.d/%{name}
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
 %attr(640,root,root) /var/log/*log
 
 %files perl-modules
 %defattr(644,root,root,755)
 %{perl_vendorlib}/VOCP.pm
+%{perl_vendorlib}/XVOCP.pm
 %{perl_vendorlib}/VOCP
+%{perl_vendorlib}/auto/VOCP/autosplit.ix
 %{_mandir}/man3/*
 
 %files vocpweb
This page took 0.478055 seconds and 4 git commands to generate.