]> git.pld-linux.org Git - packages/gmyth.git/blob - gmyth.spec
- rel 3
[packages/gmyth.git] / gmyth.spec
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
4 Version:        0.3
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/gmyth/%{name}_%{version}.tar.gz
9 # Source0-md5:  f381cc0fb84d4859cf6efa6db421c451
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
16 BuildRequires:  libtool
17 BuildRequires:  libxml2-devel >= 2.0
18 BuildRequires:  mysql-devel
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Myth TV library based upon GLib/GObject paradigm.
24
25 %description -l pl.UTF-8
26 Biblioteka Myth TV oparta na paradygmacie GLib/GObject.
27
28 %package devel
29 Summary:        Header files for gmyth library
30 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gmyth
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       curl-devel
34 Requires:       glib2-devel >= 2.0
35 Requires:       libxml2-devel >= 2.0
36
37 %description devel
38 Header files for gmyth library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki gmyth.
42
43 %package static
44 Summary:        Static gmyth library
45 Summary(pl.UTF-8):      Statyczna biblioteka gmyth
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static gmyth library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka gmyth.
54
55 %prep
56 %setup -q -n %{name}
57 %patch0 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal} -I m4
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
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) %{_bindir}/gmyth-cat
84 %attr(755,root,root) %{_libdir}/libgmyth.so.*.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libgmyth.so
89 %{_libdir}/libgmyth.la
90 %{_includedir}/gmyth
91 %{_pkgconfigdir}/gmyth.pc
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libgmyth.a
This page took 0.060247 seconds and 4 git commands to generate.