SPECS: emelfm2.spec - updated to 0.3.3 - pass optflags

qboosh qboosh at pld-linux.org
Wed Apr 11 22:38:15 CEST 2007


Author: qboosh                       Date: Wed Apr 11 20:38:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.3.3
- pass optflags

---- Files affected:
SPECS:
   emelfm2.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/emelfm2.spec
diff -u SPECS/emelfm2.spec:1.3 SPECS/emelfm2.spec:1.4
--- SPECS/emelfm2.spec:1.3	Wed Apr 11 21:35:10 2007
+++ SPECS/emelfm2.spec	Wed Apr 11 22:38:10 2007
@@ -2,16 +2,21 @@
 Summary:	File manager using the two-pane design and Gtk+
 Summary(pl.UTF-8):	Zarządca plików oparty na bibliotece GTK+
 Name:		emelfm2
-Version:	0.1.4
+Version:	0.3.3
 Release:	1
 License:	GPL
 Group:		X11/Applications
 Source0:	http://emelfm2.net/rel/%{name}-%{version}.tar.gz
-# Source0-md5:	da39b1d017366fb41700c5d40365a1ae
+# Source0-md5:	6ce56f2d4d0dc9bd2cacd5dabaa49c0a
 URL:		http://emelfm2.net/
 BuildRequires:	gettext-devel
-BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	gcc >= 5:3.2
+BuildRequires:	gtk+2-devel >= 2:2.6.0
 BuildRequires:	pkgconfig
+Requires:	file >= 4
+Requires:	findutils >= 4.2
+Requires:	grep
+Requires:	sed
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,14 +33,17 @@
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}}
 
 install emelfm2 $RPM_BUILD_ROOT%{_bindir}
-install plugins/* $RPM_BUILD_ROOT%{_libdir}/%{name}
+install objs/plugins/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,7 +52,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
 %dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/*
+%attr(755,root,root) %{_libdir}/%{name}/*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +60,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/04/11 20:38:10  qboosh
+- updated to 0.3.3
+- pass optflags
+
 Revision 1.3  2007/04/11 19:35:10  qboosh
 - proper URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/emelfm2.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list