SPECS: gperiodic.spec - restored optflags usage - proper BRs, bett...

qboosh qboosh at pld-linux.org
Tue Jul 10 07:54:22 CEST 2007


Author: qboosh                       Date: Tue Jul 10 05:54:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- restored optflags usage
- proper BRs, better Group

---- Files affected:
SPECS:
   gperiodic.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/gperiodic.spec
diff -u SPECS/gperiodic.spec:1.29 SPECS/gperiodic.spec:1.30
--- SPECS/gperiodic.spec:1.29	Tue Jul 10 03:07:43 2007
+++ SPECS/gperiodic.spec	Tue Jul 10 07:54:17 2007
@@ -5,14 +5,14 @@
 Version:	2.0.9
 Release:	1
 License:	GPL
-Group:		X11/Applications
+Group:		X11/Applications/Science
 Source0:	http://www.frantz.fi/software/%{name}-%{version}.tar.gz
 # Source0-md5:	6ecd96c3cf6b204cfe5210d67f107bcb
 URL:		http://www.frantz.fi/software/gperiodic.php
-BuildRequires:	gtk+-devel
+BuildRequires:	gtk+2-devel >= 1:2.0
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
 Gperiodic displays a periodic table of the elements, allowing you to
 browse through the elements, and view detailed information about each
@@ -26,7 +26,9 @@
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,7 +44,7 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog NEWS AUTHORS 
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
@@ -53,6 +55,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2007/07/10 05:54:17  qboosh
+- restored optflags usage
+- proper BRs, better Group
+
 Revision 1.29  2007/07/10 01:07:43  wolvverine
 - up to 2.0.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gperiodic.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list