SPECS: libburn.spec - full regeneration of configure - added bcond...

witekfl witekfl at pld-linux.org
Wed Jun 15 17:57:11 CEST 2005


Author: witekfl                      Date: Wed Jun 15 15:57:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- full regeneration of configure
- added bcond_without static

---- Files affected:
SPECS:
   libburn.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/libburn.spec
diff -u SPECS/libburn.spec:1.2 SPECS/libburn.spec:1.3
--- SPECS/libburn.spec:1.2	Mon Mar  8 23:29:02 2004
+++ SPECS/libburn.spec	Wed Jun 15 17:57:06 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Library for reading and writing optical discs
 Summary(pl):	Biblioteka służąca do odczytywania i zapisywania dysków optycznych
 Name:		libburn
@@ -9,6 +10,9 @@
 Source0:	http://icculus.org/burn/releases/%{name}-%{version}.tar.gz
 # Source0-md5:	fcf42dd1a5ed137b96a60e1cc2141d18
 URL:		http://icculus.org/burn/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,7 +51,12 @@
 %setup -q
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -74,9 +83,11 @@
 %{_includedir}/%{name}
 %{_pkgconfigdir}/*.pc
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +95,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/06/15 15:57:06  witekfl
+- full regeneration of configure
+- added bcond_without static
+
 Revision 1.2  2004/03/08 22:29:02  eothane
 - up to 0.2
 
================================================================

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




More information about the pld-cvs-commit mailing list