]>
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 |
db1a1ba9 | 4 | Version: 0.6.2 |
791ca25a JB |
5 | Release: 1 |
6 | License: LGPL v2+ | |
a4d40148 | 7 | Group: Libraries |
537ea8f4 | 8 | Source0: http://downloads.sourceforge.net/libmms/%{name}-%{version}.tar.gz |
db1a1ba9 | 9 | # Source0-md5: 9f63aa363deb4874e072a45850161bff |
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 |
6e816b53 | 61 | %{__make} |
a4d40148 | 62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
db1a1ba9 | 77 | %doc AUTHORS ChangeLog README README.LICENSE |
791ca25a JB |
78 | %attr(755,root,root) %{_libdir}/libmms.so.*.*.* |
79 | %attr(755,root,root) %ghost %{_libdir}/libmms.so.0 | |
a4d40148 | 80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
791ca25a JB |
83 | %attr(755,root,root) %{_libdir}/libmms.so |
84 | %{_libdir}/libmms.la | |
a4d40148 | 85 | %{_includedir}/libmms |
791ca25a | 86 | %{_pkgconfigdir}/libmms.pc |
a4d40148 | 87 | |
88 | %files static | |
89 | %defattr(644,root,root,755) | |
791ca25a | 90 | %{_libdir}/libmms.a |