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