/[smecontribs]/rpms/libdlna/contribs9/libdlna.spec
ViewVC logotype

Annotation of /rpms/libdlna/contribs9/libdlna.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Apr 30 21:36:04 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: libdlna-0_2_3-3_rf
Initial import

1 unnilennium 1.1 # $Id: libdlna.spec 7982 2009-11-03 03:41:01Z dag $
2     # Authority: dag
3     # Upstream: Benjamin Zores <ben$geexbox,org>
4    
5     Summary: Implementation of Digital Living Network Alliance (DLNA) standards
6     Name: libdlna
7     Version: 0.2.3
8     Release: 3%{?dist}
9     License: GPL
10     Group: System Environment/Libraries
11     URL: http://libdlna.geexbox.org/
12    
13     Packager: Dag Wieers <dag@wieers.com>
14     Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
15    
16     Source: http://libdlna.geexbox.org/releases/libdlna-%{version}.tar.bz2
17     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18    
19     BuildRequires: ffmpeg-devel
20    
21     %description
22     libdlna aims at being the reference open-source implementation of DLNA
23     (Digital Living Network Alliance) standards. Its primary goal is to
24     provide DLNA support to uShare, an embedded DLNA & UPnP A/V Media Server,
25     but it will be used to build both DLNA servers and players in the long term.
26    
27     %package devel
28     Summary: Header files, libraries and development documentation for %{name}.
29     Group: Development/Libraries
30     Requires: %{name} = %{version}-%{release}
31    
32     %description devel
33     This package contains the header files, static libraries and development
34     documentation for %{name}. If you like to develop programs using %{name},
35     you will need to install %{name}-devel.
36    
37     %prep
38     %setup
39    
40     %if %{!?_without_ffmpeg05:1}0
41     %{__perl} -pi.orig -e '
42     s|ffmpeg/avformat.h|libavformat/avformat.h|;
43     s|ffmpeg/avcodec.h|libavcodec/avcodec.h|;
44     ' configure src/*.c src/*.h
45     %endif
46    
47     %build
48     export CFLAGS="%{optflags}"
49     ./configure \
50     --disable-static \
51     --libdir="%{_libdir}" \
52     --prefix="%{_prefix}"
53     %{__make} %{?_smp_mflags} || :
54    
55     %install
56     %{__rm} -rf %{buildroot}
57     %{__make} install DESTDIR="%{buildroot}"
58    
59     %post -p /sbin/ldconfig
60     %postun -p /sbin/ldconfig
61    
62     %clean
63     %{__rm} -rf %{buildroot}
64    
65     %files
66     %defattr(-, root, root, 0755)
67     %doc AUTHORS ChangeLog COPYING README
68     %{_libdir}/libdlna.so.*
69    
70     %files devel
71     %{_includedir}/dlna.h
72     %{_libdir}/libdlna.so
73     %{_libdir}/pkgconfig/libdlna.pc
74    
75     %changelog
76     * Sat Dec 04 2010 Dag Wieers <dag@wieers.com> - 0.2.3-3
77     - Rebuild against ffmpeg-0.6.1.
78    
79     * Mon Jul 13 2009 Dag Wieers <dag@wieers.com> - 0.2.3-2
80     - Rebuild against ffmpeg-0.5.
81    
82     * Tue Nov 27 2007 Dag Wieers <dag@wieers.com> - 0.2.3-1
83     - Updated to release 0.2.3.
84    
85     * Sun Nov 25 2007 Dag Wieers <dag@wieers.com> - 0.2.2-1
86     - Updated to release 0.2.2.
87    
88     * Fri Nov 23 2007 Dag Wieers <dag@wieers.com> - 0.2.1-1
89     - Initial package. (using DAR)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed