]> git.pld-linux.org Git - packages/drawtool.git/commitdiff
- added build patch, release 5 for Ac AC-branch AC-STABLE auto/ac/drawtool-3_2_2-5
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Mar 2004 16:54:55 +0000 (16:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drawtool.spec -> 1.20

drawtool.spec

index d2bc1b49284f22030a4e67c50a2e9bfa1d331842..225f1a8681df714143e476e2b975fd524c18d5d3 100644 (file)
@@ -3,21 +3,20 @@ Summary:      Simple vector graphics creator (with stdin/out interface)
 Summary(pl):   Prosty program do grafiki wektorowej (z interfejsem stdin/out)
 Name:          drawtool
 Version:       3.2.2
-Release:       4
+Release:       5
 License:       GPL
 Group:         X11/Applications/Graphics
 Source0:       http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
 # Source0-md5: 97ffd36c555d67f58fa50615afc28772
 Patch0:                %{name}-makefile.patch
+Patch1:                %{name}-build.patch
 URL:           http://www.earth.li/projectpurple/progs/drawtool.html
 BuildRequires: gtk+-devel
 BuildRequires: netpbm-devel
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: rpm-perlprov >= 3.0.3-16
-
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
 Drawtool is a simple application that reads in simple vector geometry
 from stdin and displays it in a gtk window. Similarly, it will write
@@ -50,13 +49,15 @@ perltool.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-%{__make} CFLAGS="%{rpmcflags}"
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
 %{__make} install \
@@ -71,9 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc docs/drawtool.pdf
-%doc TODO README CHANGES
-%doc utils logo-utils
+%doc TODO README CHANGES docs/drawtool.pdf utils logo-utils
 %attr(755,root,root) %{_bindir}/logo
 %attr(755,root,root) %{_bindir}/drawtool
 %{_mandir}/man*/*
This page took 0.116383 seconds and 4 git commands to generate.