summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-06-10 11:23:41 +0200
committerRemi Collet <fedora@famillecollet.com>2013-06-10 11:23:41 +0200
commitc4a2fa3699a9d428f84c85b71f5fd1ae034cdbb0 (patch)
treeada305790fbc505ced6b03b31fad1656974e0604
parent7e29ed09c03f15738a7b262443b9e54eb07c6195 (diff)
gd: cleanups
-rw-r--r--gd.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/gd.spec b/gd.spec
index b296ffe..e8f01cc 100644
--- a/gd.spec
+++ b/gd.spec
@@ -12,7 +12,7 @@ URL: http://libgd.bitbucket.org/
%if 0%{?commit:1}
# git clone git@bitbucket.org:libgd/gd-libgd.git; cd gd-libgd
# git archive --format=tgz --output=libgd-2.1.0-$(git rev-parse master).tgz --prefix=libgd-2.1.0/ master
-Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}-%{commit}.tgz
+Source0: libgd-%{version}-%{commit}.tgz
%else
Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}%{?prever:-%{prever}}.tar.xz
%endif
@@ -100,6 +100,7 @@ CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_FONTPATH='\"\
--disable-rpath
make %{?_smp_mflags}
+
%install
make install INSTALL='install -p' DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.la
@@ -114,6 +115,7 @@ make check
%postun -p /sbin/ldconfig
+
%files
%doc COPYING
%{_libdir}/*.so.*