]>
Commit | Line | Data |
---|---|---|
be6d174b | 1 | Summary: LibMMS - mms:// and mmsh:// parsing library |
a4312f92 | 2 | Summary(pl.UTF-8): LibMMS - biblioteka przetwarzająca mms:// i mmsh:// |
a4d40148 | 3 | Name: libmms |
d19fd79a JB |
4 | Version: 0.3 |
5 | Release: 1 | |
a4d40148 | 6 | License: LGPL |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/libmms/%{name}-%{version}.tar.gz | |
d19fd79a | 9 | # Source0-md5: 1601705f38143687a575630a3f9d6a56 |
fe1a4f62 | 10 | URL: http://sourceforge.net/projects/libmms/ |
2142b609 JB |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
fe1a4f62 | 13 | BuildRequires: glib2-devel >= 2.0.0 |
2142b609 | 14 | BuildRequires: libtool |
fe1a4f62 | 15 | BuildRequires: pkgconfig |
a4d40148 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | LibMMS is mms:// and mmsh:// (Microsoft streaming protocols) parsing | |
20 | library. | |
21 | ||
a7bdb7d9 JR |
22 | %description -l pl.UTF-8 |
23 | LibMMS to biblioteka przetwarzająca mms:// i mmsh:// (protokoły | |
be6d174b JB |
24 | strumieni Microsoftu). |
25 | ||
a4d40148 | 26 | %package devel |
27 | Summary: Header files for libmms library | |
a4312f92 | 28 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmms |
a4d40148 | 29 | Group: Development/Libraries |
30 | Requires: %{name} = %{version}-%{release} | |
fe1a4f62 | 31 | Requires: glib2-devel >= 2.0.0 |
a4d40148 | 32 | |
33 | %description devel | |
34 | Header files for libmms library. | |
35 | ||
a7bdb7d9 JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki libmms. | |
a4d40148 | 38 | |
39 | %package static | |
40 | Summary: Static libmms library | |
a4312f92 | 41 | Summary(pl.UTF-8): Statyczna biblioteka libmms |
a4d40148 | 42 | Group: Development/Libraries |
43 | Requires: %{name}-devel = %{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static libmms library. | |
47 | ||
a7bdb7d9 | 48 | %description static -l pl.UTF-8 |
a4d40148 | 49 | Statyczna biblioteka libmms. |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
2142b609 JB |
55 | %{__libtoolize} |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
a4d40148 | 60 | %configure |
3b1455db JB |
61 | %{__make} \ |
62 | PKG_LIBS='$(GLIB_LIBS)' | |
a4d40148 | 63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
3b1455db | 78 | %doc AUTHORS ChangeLog README README.LICENSE TODO |
a4d40148 | 79 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
80 | ||
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %attr(755,root,root) %{_libdir}/lib*.so | |
84 | %{_libdir}/lib*.la | |
85 | %{_includedir}/libmms | |
86 | %{_pkgconfigdir}/*.pc | |
87 | ||
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/lib*.a |