]> git.pld-linux.org Git - packages/erikyyyphone.git/blobdiff - erikyyyphone.spec
- don't override -Ox
[packages/erikyyyphone.git] / erikyyyphone.spec
index b5fc25847d536462c776924a81e78ac7d8b97459..dff169e7bd6916eaf81012d92310377e70761ca4 100644 (file)
@@ -1,12 +1,16 @@
 Summary:       Voice over IP
 Summary(pl):   G³os po IP
 Name:          erikyyyphone
-Version:       1.0.0
+Version:       1.0.1
 Release:       1
 Group:         Applications/Communications
 License:       GPL
 Source0:       http://www.erikyyy.de/erikyyyphone/%{name}-%{version}.tar.gz
+# Source0-md5: 1d8b3327d158e81e28ebe89550c236fe
 Patch0:                %{name}-make.patch
+Patch1:                %{name}-ac.patch
+Patch2:                %{name}-c.patch
+BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libgsm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,25 +24,29 @@ G
 %prep
 %setup  -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-aclocal
-automake -a -c -f
-CPPFLAGS="-I%{_includedir}/ncurses" ; export CPPFLAGS
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
 %configure
-%{__make}
+%{__make} CXXFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-gzip -9nf AUTHORS README TODO
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {AUTHORS,README,TODO}.gz
+%doc AUTHORS README TODO
 %attr(755,root,root) %{_bindir}/*
This page took 0.088513 seconds and 4 git commands to generate.