]>
Commit | Line | Data |
---|---|---|
d3667fb5 JB |
1 | Summary: Myth TV library based upon GLib/GObject paradigm |
2 | Summary(pl.UTF-8): Biblioteka Myth TV oparta na paradygmacie GLib/GObject | |
3 | Name: gmyth | |
0703062b | 4 | Version: 0.7.1 |
01a39393 | 5 | Release: 2 |
d3667fb5 JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
0703062b PZ |
8 | Source0: http://dl.sourceforge.net/gmyth/%{name}-%{version}.tar.gz |
9 | # Source0-md5: ab6b7525fd9c71cf5203f9e61abec0c3 | |
d3667fb5 JB |
10 | Patch0: %{name}-link.patch |
11 | URL: http://gmyth.sourceforge.net/ | |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
14 | BuildRequires: curl-devel | |
15 | BuildRequires: glib2-devel >= 2.0 | |
0703062b | 16 | BuildRequires: gstreamer-devel |
d3667fb5 JB |
17 | BuildRequires: libtool |
18 | BuildRequires: libxml2-devel >= 2.0 | |
19 | BuildRequires: mysql-devel | |
20 | BuildRequires: pkgconfig | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Myth TV library based upon GLib/GObject paradigm. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Biblioteka Myth TV oparta na paradygmacie GLib/GObject. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for gmyth library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gmyth | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: curl-devel | |
35 | Requires: glib2-devel >= 2.0 | |
36 | Requires: libxml2-devel >= 2.0 | |
37 | ||
38 | %description devel | |
39 | Header files for gmyth library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe biblioteki gmyth. | |
43 | ||
44 | %package static | |
45 | Summary: Static gmyth library | |
46 | Summary(pl.UTF-8): Statyczna biblioteka gmyth | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static gmyth library. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Statyczna biblioteka gmyth. | |
55 | ||
56 | %prep | |
0703062b | 57 | %setup -q |
d3667fb5 JB |
58 | %patch0 -p1 |
59 | ||
60 | %build | |
61 | %{__libtoolize} | |
62 | %{__aclocal} -I m4 | |
63 | %{__autoconf} | |
64 | %{__autoheader} | |
65 | %{__automake} | |
66 | %configure | |
67 | %{__make} | |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post -p /sbin/ldconfig | |
79 | %postun -p /sbin/ldconfig | |
80 | ||
81 | %files | |
82 | %defattr(644,root,root,755) | |
83 | %doc AUTHORS ChangeLog | |
84 | %attr(755,root,root) %{_bindir}/gmyth-cat | |
9bd1fe2c | 85 | %attr(755,root,root) %{_bindir}/gmyth-ls |
d3667fb5 | 86 | %attr(755,root,root) %{_libdir}/libgmyth.so.*.*.* |
b81fc199 | 87 | %attr(755,root,root) %ghost %{_libdir}/libgmyth.so.0 |
d3667fb5 JB |
88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
91 | %attr(755,root,root) %{_libdir}/libgmyth.so | |
92 | %{_libdir}/libgmyth.la | |
93 | %{_includedir}/gmyth | |
94 | %{_pkgconfigdir}/gmyth.pc | |
95 | ||
96 | %files static | |
97 | %defattr(644,root,root,755) | |
98 | %{_libdir}/libgmyth.a |