]> git.pld-linux.org Git - packages/ctemplate.git/commitdiff
- fixed linking with pthread
authorsparky <sparky@pld-linux.org>
Sat, 22 Jan 2011 15:17:19 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- auto*ize
- BR: autoconf, automake, libtool

Changed files:
    ctemplate.spec -> 1.8

ctemplate.spec

index 3695b33638de4844a667abbe805b97389269aaab..1792c84b96ba23ccef52fb0c6d909d5b9fcf7f69 100644 (file)
@@ -7,7 +7,10 @@ Group:         Applications
 Source0:       http://google-ctemplate.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5: 7de5ce359a2f613f5c3fd309b36331f0
 URL:           http://code.google.com/p/google-ctemplate/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,6 +69,11 @@ Statyczna biblioteka CTemplate.
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+export PTHREAD_LIBS="-lpthread"
 %configure
 %{__make}
 
This page took 0.128429 seconds and 4 git commands to generate.