]>
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 |
631b8d3c | 5 | Release: 9 |
d3667fb5 JB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
631b8d3c | 8 | Source0: http://downloads.sourceforge.net/gmyth/%{name}-%{version}.tar.gz |
0703062b | 9 | # Source0-md5: ab6b7525fd9c71cf5203f9e61abec0c3 |
d3667fb5 | 10 | Patch0: %{name}-link.patch |
00fb4b64 | 11 | Patch1: %{name}-curl.patch |
d3667fb5 | 12 | URL: http://gmyth.sourceforge.net/ |
631b8d3c JB |
13 | BuildRequires: autoconf >= 2.52 |
14 | BuildRequires: automake >= 1.6 | |
d3667fb5 JB |
15 | BuildRequires: curl-devel |
16 | BuildRequires: glib2-devel >= 2.0 | |
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 | 58 | %patch0 -p1 |
00fb4b64 | 59 | %patch1 -p1 |
d3667fb5 JB |
60 | |
61 | %build | |
62 | %{__libtoolize} | |
63 | %{__aclocal} -I m4 | |
64 | %{__autoconf} | |
65 | %{__autoheader} | |
66 | %{__automake} | |
67 | %configure | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
631b8d3c JB |
76 | # obsoleted by pkg-config |
77 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgmyth.la | |
78 | ||
d3667fb5 JB |
79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post -p /sbin/ldconfig | |
83 | %postun -p /sbin/ldconfig | |
84 | ||
85 | %files | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS ChangeLog | |
88 | %attr(755,root,root) %{_bindir}/gmyth-cat | |
9bd1fe2c | 89 | %attr(755,root,root) %{_bindir}/gmyth-ls |
d3667fb5 | 90 | %attr(755,root,root) %{_libdir}/libgmyth.so.*.*.* |
b81fc199 | 91 | %attr(755,root,root) %ghost %{_libdir}/libgmyth.so.0 |
d3667fb5 JB |
92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
95 | %attr(755,root,root) %{_libdir}/libgmyth.so | |
d3667fb5 JB |
96 | %{_includedir}/gmyth |
97 | %{_pkgconfigdir}/gmyth.pc | |
98 | ||
99 | %files static | |
100 | %defattr(644,root,root,755) | |
101 | %{_libdir}/libgmyth.a |