]> git.pld-linux.org Git - packages/gmyth-upnp.git/blob - gmyth-upnp.spec
- fix building with libupnp 1.14
[packages/gmyth-upnp.git] / gmyth-upnp.spec
1 Summary:        Myth TV UPnP library based upon GLib/GObject paradigm
2 Summary(pl.UTF-8):      Biblioteka Myth TV UPnP oparta na paradygmacie GLib/GObject
3 Name:           gmyth-upnp
4 Version:        0.7.1
5 Release:        10
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/gmyth/%{name}-%{version}.tar.gz
9 # Source0-md5:  f569d565c9cb12d50e88d23a603c7fcb
10 Patch0:         libupnp-1.14.patch
11 URL:            http://gmyth.sourceforge.net/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake >= 1.6
14 BuildRequires:  glib2-devel >= 2.0
15 BuildRequires:  gmyth-devel >= 0.7.1
16 BuildRequires:  libtool
17 BuildRequires:  libupnp-devel
18 BuildRequires:  pkgconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Myth TV UPnP library based upon GLib/GObject paradigm.
23
24 %description -l pl.UTF-8
25 Biblioteka Myth TV UPnP oparta na paradygmacie GLib/GObject.
26
27 %package devel
28 Summary:        Header files for gmyth library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gmyth
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       curl-devel
33 Requires:       glib2-devel >= 2.0
34 Requires:       libxml2-devel >= 2.0
35
36 %description devel
37 Header files for gmyth library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki gmyth.
41
42 %package static
43 Summary:        Static gmyth library
44 Summary(pl.UTF-8):      Statyczna biblioteka gmyth
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static gmyth library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka gmyth.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # obsoleted by pkg-config
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgmythupnp.la
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog
85 %attr(755,root,root) %{_libdir}/libgmythupnp.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libgmythupnp.so.0
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libgmythupnp.so
91 %{_includedir}/gmyth-upnp
92 %{_pkgconfigdir}/gmyth-upnp.pc
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libgmythupnp.a
This page took 0.079784 seconds and 3 git commands to generate.