summaryrefslogtreecommitdiffstats
path: root/gd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'gd.spec')
-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.*