Author: tanguy
Update of /cvs/free/rpms/libdlna/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv23028/F-9
Modified Files:
.cvsignore sources
Added Files:
libdlna-pkgconfig.patch libdlna.spec
Log Message:
libdlna-pkgconfig.patch:
--- NEW FILE libdlna-pkgconfig.patch ---
--- libdlna-0.2.3/configure 2007-11-26 21:47:43.000000000 +0100
+++ libdlna-0.2.3/configure.new 2007-12-14 22:40:43.000000000 +0100
@@ -270,7 +270,7 @@
cat <<EOF >$name.pc
prefix=$PREFIX
exec_prefix=\${prefix}
-libdir=\${exec_prefix}/lib
+libdir=${libdir}
includedir=\${prefix}/include
Name: $name
@@ -597,7 +597,7 @@
add_cflags "-O5"
add_ldflags "-O5"
else
- add_cflags "-O3"
+ add_cflags ""
fi
fi
@@ -697,7 +697,7 @@
#################################################
# make pkg-config files
#################################################
-pkgconfig_generate libdlna "DLNA (Digital Living Network Alliance) library"
"$VERSION" "-ldlna $extralibs" "libavformat libavcodec"
+pkgconfig_generate libdlna "DLNA (Digital Living Network Alliance) library"
"$VERSION" "-ldlna" "libavformat libavcodec"
clean
exit 0
--- NEW FILE libdlna.spec ---
Version: 0.2.3
Summary: Open-source implementation of DLNA (Digital Living Network Alliance) standards
Name: libdlna
Release: 5%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL:
http://libdlna.geexbox.org/
Source:
http://libdlna.geexbox.org/releases/%{name}-%{version}.tar.bz2
Patch0: libdlna-pkgconfig.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ffmpeg-devel
%description
Libdlna aims at being the reference open-source implementation of
DLNA (Digital Living Network Alliance) standards.
%package devel
Group: Development/Libraries
Summary: Include files needed for development with libdlna
Requires: libdlna = %{version}-%{release}
Requires: pkgconfig
Requires: ffmpeg-devel
%description devel
The libdlna-devel package contains the files necessary for development with
the libdlna libraries.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} --libdir=%{_libdir} --includedir=%{_includedir}
--disable-static
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog AUTHORS README
%{_libdir}/libdlna.so.*
%files devel
%defattr(0644,root,root,0755)
%{_includedir}/dlna.h
%{_libdir}/libdlna.so
%{_libdir}/pkgconfig/libdlna.pc
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Feb 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.2.3-5
- rebuild for new ffmpeg
* Thu Jan 03 2008 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-4
- add requires ffmpeg-devel for devel package
* Fri Dec 14 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-3
- Modify libdlna-pkgconfig.patch
* Fri Dec 14 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-2
- Modify configure to fix pkgconfig for lib64
- Modify configure to use -O2 instead of -O3
* Sun Nov 18 2007 Eric Tanguy <eric.tanguy(a)univ-nantes.fr> - 0.2.3-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/libdlna/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:52:42 -0000 1.1
+++ .cvsignore 19 Aug 2008 09:01:47 -0000 1.2
@@ -0,0 +1 @@
+libdlna-0.2.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/libdlna/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:52:42 -0000 1.1
+++ sources 19 Aug 2008 09:01:47 -0000 1.2
@@ -0,0 +1 @@
+2c974f95b711e5fd07f78fc4ebfcca66 libdlna-0.2.3.tar.bz2