]> git.pld-linux.org Git - packages/newsbeuter.git/commitdiff
- added compile-flags patch auto/th/newsbeuter-2_1-2
authorsparky <sparky@pld-linux.org>
Thu, 10 Dec 2009 21:54:01 +0000 (21:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: curl-devel, pkgconfig
- dropped BR: stfl-static
- pass rpm*flags and cxx compiler

Changed files:
    newsbeuter.spec -> 1.16

newsbeuter.spec

index fcee8e5b3efc080f98597b6890f2f9275827325a..f1a4a037c8f532fa4326755978c152e060ffab6f 100644 (file)
@@ -8,14 +8,16 @@ License:      MIT/X
 Group:         Applications/Networking
 Source0:       http://www.newsbeuter.org/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: f732bb0302b44a3723dea81e81804fb9
+Patch0:                %{name}-compile-flags.patch
 URL:           http://www.newsbeuter.org/
+BuildRequires: curl-devel
 BuildRequires: gettext-devel
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
-BuildRequires: perl
+BuildRequires: perl-base
+BuildRequires: pkgconfig
 BuildRequires: sqlite3-devel
-BuildRequires: stfl-devel >=0.21
-BuildRequires: stfl-static
+BuildRequires: stfl-devel >= 0.21-4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,11 +34,13 @@ tekstowych w systemach uniksowych.
 
 %prep
 %setup -q
-%{__sed} -i "s@CXXFLAGS+=.*@CXXFLAGS+=%{rpmcxxflags}@" Makefile.prof
-%{__sed} -i "s@CFLAGS+=.*@CFLAGS+=%{rpmcflags}@" Makefile.prof
+%patch0 -p1
 
 %build
-%{__make} -f Makefile.prof \
+%{__make} \
+       CXX="%{__cxx}" \
+       OPTCXXFLAGS="%{rpmcxxflags}" \
+       REALLDFLAGS="%{rpmldflags}" \
        prefix=%{_prefix} \
        docdir=%{_docdir}/%{name}-%{version}
 
This page took 0.087836 seconds and 4 git commands to generate.