]> git.pld-linux.org Git - packages/dahdi-tools.git/blobdiff - dahdi-tools.spec
- updated for 2.3.0
[packages/dahdi-tools.git] / dahdi-tools.spec
index 8b38cef75f4cdfb64e1cc9d1ca72e397819eacc3..831e7502e92ad59e676d9ac5165ec5f363c82923 100644 (file)
@@ -1,10 +1,8 @@
 #
 # TODO:
-# - should more header files be installed?
-# - Installed (but unpackaged) file(s) found:
-#   /etc/hotplug/usb/xpp_fxloader
-#   /etc/hotplug/usb/xpp_fxloader.usermap
-#   /etc/udev/rules.d/xpp.rules
+# warning: Installed (but unpackaged) file(s) found:
+#    /etc/hotplug/usb/xpp_fxloader
+#    /etc/hotplug/usb/xpp_fxloader.usermap
 #
 # Conditional build:
 %bcond_with    oslec           # with Open Source Line Echo Canceller
@@ -12,6 +10,8 @@
 %bcond_without xpp             # without Astribank
 %bcond_with    verbose
 
+%include       /usr/lib/rpm/macros.perl
+
 %ifarch sparc
 %undefine      with_smp
 %endif
@@ -19,7 +19,7 @@
 %undefine      with_xpp
 %endif
 
-%define                rel     11
+%define                rel     1
 Summary:       DAHDI telephony device support
 Summary(pl.UTF-8):     Obsługa urządzeń telefonicznych DAHDI
 Name:          dahdi-tools
@@ -32,6 +32,7 @@ Source0:      http://downloads.digium.com/pub/telephony/dahdi-tools/%{name}-%{version
 Source1:       dahdi.init
 Source2:       dahdi.sysconfig
 Patch0:                %{name}-as-needed.patch
+Patch1:                %{name}-perl-path.patch
 URL:           http://www.asterisk.org/
 Obsoletes:     zaptel
 BuildRequires: dahdi-linux-devel
@@ -39,6 +40,7 @@ BuildRequires:        newt-devel
 BuildRequires: perl-base
 BuildRequires: perl-tools-pod
 BuildRequires: rpmbuild(macros) >= 1.379
+BuildRequires: rpm-perlprov >= 4.1-13
 %{?with_bristuff:Provides:     dahdi(bristuff)}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -123,6 +125,7 @@ Perlowy interfejs do DAHDIa.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %if %{with kernel}
 mkdir firmware
@@ -150,7 +153,7 @@ rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
 
-%{__make} install \
+%{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dahdi
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/dahdi
@@ -203,6 +206,6 @@ fi
 
 %files -n perl-Dahdi
 %defattr(644,root,root,755)
-#%{perl_vendorlib}/Dahdi
-#%{perl_vendorlib}/Dahdi.pm
+%{perl_vendorlib}/Dahdi
+%{perl_vendorlib}/Dahdi.pm
 %endif
This page took 0.130116 seconds and 4 git commands to generate.