SPECS: isomaster.spec - cosmetics, pass CC and rpmcflags

qboosh qboosh at pld-linux.org
Sat Oct 7 12:14:40 CEST 2006


Author: qboosh                       Date: Sat Oct  7 10:14:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cosmetics, pass CC and rpmcflags

---- Files affected:
SPECS:
   isomaster.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/isomaster.spec
diff -u SPECS/isomaster.spec:1.6 SPECS/isomaster.spec:1.7
--- SPECS/isomaster.spec:1.6	Wed Sep 27 20:23:43 2006
+++ SPECS/isomaster.spec	Sat Oct  7 12:14:34 2006
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 Summary:	ISO Master: graphical CD image editor
-Summary(pl):	ISO Master: graficzny edytor obrazów płyt
+Summary(pl):	ISO Master - graficzny edytor obrazów płyt
 Name:		isomaster
 Version:	0.4
 Release:	0.1
@@ -10,9 +10,8 @@
 # Source0-md5:	56d60c4bd37a287f936c2b9374f87c22
 Source1:	%{name}.desktop
 URL:		http://littlesvr.ca/isomaster/
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	gtk+2-devel
+BuildRequires:	gtk+2-devel >= 2.0
+BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
 Requires:	file
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,15 +21,17 @@
 writing ISO images.
 
 %description -l pl
-ISO Master: graficzny edytor obrazów płyt. Używany do czytania,
+ISO Master - graficzny edytor obrazów płyt. Służy do czytania,
 modyfikowania i zapisywania obrazów ISO.
 
 %prep
 %setup -q
-%{__sed} -i -e 's#/usr/local#/usr#' Makefile
+%{__sed} -i -e 's#/usr/local#/usr#;s/\<cc\>/$(CC)/' Makefile
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	GLOBALFLAGS="%{rpmcflags} -Wall"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +39,7 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
@@ -58,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/10/07 10:14:34  qboosh
+- cosmetics, pass CC and rpmcflags
+
 Revision 1.6  2006/09/27 18:23:43  ankry
 - more cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/isomaster.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list