]>
Commit | Line | Data |
---|---|---|
f9512e9e | 1 | Summary: Abstraction library that comes between applications and audio visualisation plugins |
f565ab6d | 2 | Summary(pl.UTF-8): Abstrakcyjna biblioteka pomiędzy aplikacjami a wtyczkami wizualizacji audio |
f9512e9e | 3 | Name: libvisual |
1ac5f2ed | 4 | Version: 0.4.0 |
9b81ce75 | 5 | Release: 5 |
f9512e9e | 6 | License: GPL |
7 | Group: Libraries | |
1ac5f2ed JB |
8 | Source0: http://dl.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: d0f987abd0845e725743605fd39ef73f | |
ccb7b62c | 10 | URL: http://localhost.nl/~synap/libvisual/ |
71c60a43 | 11 | Patch0: %{name}-link.patch |
f9512e9e | 12 | BuildRequires: libtool |
c5d182d5 | 13 | BuildRequires: pkgconfig >= 1:0.14 |
9a0af69c | 14 | Obsoletes: libvisual-tools |
f9512e9e | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Abstraction library that comes between applications and audio | |
19 | visualisation plugins. | |
20 | ||
c9450233 JR |
21 | %description -l pl.UTF-8 |
22 | Abstrakcyjna biblioteka pomiędzy aplikacjami a wtyczkami wizualizacji | |
f9512e9e | 23 | audio. |
24 | ||
25 | %package devel | |
26 | Summary: Header files for libvisual library | |
f565ab6d | 27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libvisual |
f9512e9e | 28 | Group: Development/Libraries |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
32 | Header files for libvisual library. | |
33 | ||
c9450233 JR |
34 | %description devel -l pl.UTF-8 |
35 | Pliki nagłówkowe biblioteki libvisual. | |
f9512e9e | 36 | |
37 | %package static | |
38 | Summary: Static libvisual library | |
f565ab6d | 39 | Summary(pl.UTF-8): Statyczna biblioteka libvisual |
f9512e9e | 40 | Group: Development/Libraries |
41 | Requires: %{name}-devel = %{version}-%{release} | |
42 | ||
43 | %description static | |
44 | Static libvisual library. | |
45 | ||
c9450233 | 46 | %description static -l pl.UTF-8 |
f9512e9e | 47 | Statyczna biblioteka libvisual. |
48 | ||
49 | %prep | |
50 | %setup -q | |
6f16e52c | 51 | %patch0 -p1 |
f9512e9e | 52 | |
324d7504 | 53 | mv -f po/{es_ES,es}.po |
ed487bfd | 54 | # es_AR is a copy of es |
324d7504 | 55 | rm -f po/{es_AR.po,stamp-po} |
56 | sed -i -e 's|es_ES es_AR|es|' po/LINGUAS | |
57 | ||
f9512e9e | 58 | %build |
f9512e9e | 59 | %configure \ |
60 | --enable-static | |
2613360e | 61 | %{__make} |
1a36d017 | 62 | |
f9512e9e | 63 | %install |
64 | rm -rf $RPM_BUILD_ROOT | |
9b81ce75 | 65 | install -d $RPM_BUILD_ROOT%{_libdir}/libvisual-0.4 |
f9512e9e | 66 | |
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
1ac5f2ed JB |
69 | |
70 | %find_lang %{name}-0.4 | |
f9512e9e | 71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post -p /sbin/ldconfig | |
76 | %postun -p /sbin/ldconfig | |
77 | ||
1ac5f2ed | 78 | %files -f %{name}-0.4.lang |
f9512e9e | 79 | %defattr(644,root,root,755) |
80 | %doc AUTHORS ChangeLog NEWS README TODO | |
9b81ce75 | 81 | %dir %{_libdir}/libvisual-0.4 |
1ac5f2ed | 82 | %attr(755,root,root) %{_libdir}/libvisual-*.so.*.*.* |
f9512e9e | 83 | |
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
1ac5f2ed JB |
86 | %attr(755,root,root) %{_libdir}/libvisual-*.so |
87 | %{_libdir}/libvisual-*.la | |
88 | %{_includedir}/libvisual-* | |
f9512e9e | 89 | %{_pkgconfigdir}/*.pc |
90 | ||
91 | %files static | |
92 | %defattr(644,root,root,755) | |
1ac5f2ed | 93 | %{_libdir}/libvisual-*.a |