SPECS: emotion.spec - proper rel, BR: pkgconfig - bcond static_libs
charles
charles at pld-linux.org
Wed Nov 30 14:56:52 CET 2005
Author: charles Date: Wed Nov 30 13:56:52 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper rel, BR: pkgconfig
- bcond static_libs
---- Files affected:
SPECS:
emotion.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/emotion.spec
diff -u SPECS/emotion.spec:1.8 SPECS/emotion.spec:1.9
--- SPECS/emotion.spec:1.8 Sun Nov 20 20:00:59 2005
+++ SPECS/emotion.spec Wed Nov 30 14:56:47 2005
@@ -1,10 +1,14 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static library
+#
Summary: Enlightenment Fundation Libraries - Emotion
Summary(pl): Podstawowe biblioteki Enlightenmenta - Emotion
Name: emotion
Version: 0.0.1.004
%define _snap 20051116
-Release: 0.%{_snap}.1
+Release: 2.%{_snap}.1
License: BSD
Group: X11/Libraries
#Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
@@ -17,6 +21,7 @@
BuildRequires: edje-devel
BuildRequires: gstreamer-plugins-devel
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: xine-lib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,7 +65,8 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ %{!?with_static_libs:--disable-static}
%{__make}
%install
@@ -99,9 +105,11 @@
%{_includedir}/Emotion*
%{_pkgconfigdir}/emotion.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libemotion.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -109,6 +117,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/11/30 13:56:47 charles
+- proper rel, BR: pkgconfig
+- bcond static_libs
+
Revision 1.8 2005/11/20 19:00:59 sparky
- updated to unofficial 20051116 snap, builds at last, added gstreamer plugins support
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/emotion.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list