]> git.pld-linux.org Git - packages/gmyth-upnp.git/blame - gmyth-upnp.spec
- fix building with libupnp 1.14
[packages/gmyth-upnp.git] / gmyth-upnp.spec
CommitLineData
7b93313f
PZ
1Summary: Myth TV UPnP library based upon GLib/GObject paradigm
2Summary(pl.UTF-8): Biblioteka Myth TV UPnP oparta na paradygmacie GLib/GObject
3Name: gmyth-upnp
4Version: 0.7.1
d9b7b2ec 5Release: 10
7b93313f
PZ
6License: LGPL v2+
7Group: Libraries
363a6669 8Source0: http://downloads.sourceforge.net/gmyth/%{name}-%{version}.tar.gz
7b93313f 9# Source0-md5: f569d565c9cb12d50e88d23a603c7fcb
d9b7b2ec 10Patch0: libupnp-1.14.patch
7b93313f 11URL: http://gmyth.sourceforge.net/
ae2d1033
JB
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake >= 1.6
7b93313f
PZ
14BuildRequires: glib2-devel >= 2.0
15BuildRequires: gmyth-devel >= 0.7.1
16BuildRequires: libtool
d9b7b2ec 17BuildRequires: libupnp-devel
7b93313f
PZ
18BuildRequires: pkgconfig
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Myth TV UPnP library based upon GLib/GObject paradigm.
23
24%description -l pl.UTF-8
25Biblioteka Myth TV UPnP oparta na paradygmacie GLib/GObject.
26
27%package devel
28Summary: Header files for gmyth library
29Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gmyth
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: curl-devel
33Requires: glib2-devel >= 2.0
34Requires: libxml2-devel >= 2.0
35
36%description devel
37Header files for gmyth library.
38
39%description devel -l pl.UTF-8
40Pliki nagłówkowe biblioteki gmyth.
41
42%package static
43Summary: Static gmyth library
44Summary(pl.UTF-8): Statyczna biblioteka gmyth
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
49Static gmyth library.
50
51%description static -l pl.UTF-8
52Statyczna biblioteka gmyth.
53
54%prep
55%setup -q
d9b7b2ec 56%patch0 -p1
7b93313f
PZ
57
58%build
59%{__libtoolize}
60%{__aclocal}
61%{__autoconf}
62%{__autoheader}
63%{__automake}
64%configure
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
72
ae2d1033
JB
73# obsoleted by pkg-config
74%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgmythupnp.la
75
7b93313f
PZ
76%clean
77rm -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
7b93313f
PZ
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.094101 seconds and 4 git commands to generate.