]>
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 |
de78dcc5 | 5 | Release: 8 |
e10ac8b5 | 6 | License: LGPL v2.1+ |
f9512e9e | 7 | Group: Libraries |
e10ac8b5 | 8 | Source0: http://downloads.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2 |
1ac5f2ed | 9 | # Source0-md5: d0f987abd0845e725743605fd39ef73f |
71c60a43 | 10 | Patch0: %{name}-link.patch |
d7a728c3 | 11 | Patch1: %{name}-NULL.patch |
34196a00 | 12 | Patch2: format-security.patch |
a5922db6 | 13 | URL: http://libvisual.org/ |
e10ac8b5 JB |
14 | BuildRequires: autoconf >= 2.57 |
15 | BuildRequires: automake >= 1:1.7 | |
da8bf6f7 | 16 | BuildRequires: gettext-tools >= 0.14.1 |
f9512e9e | 17 | BuildRequires: libtool |
c5d182d5 | 18 | BuildRequires: pkgconfig >= 1:0.14 |
e10ac8b5 | 19 | BuildRequires: sed >= 4.0 |
9a0af69c | 20 | Obsoletes: libvisual-tools |
f9512e9e | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | Abstraction library that comes between applications and audio | |
25 | visualisation plugins. | |
26 | ||
c9450233 JR |
27 | %description -l pl.UTF-8 |
28 | Abstrakcyjna biblioteka pomiędzy aplikacjami a wtyczkami wizualizacji | |
f9512e9e | 29 | audio. |
30 | ||
31 | %package devel | |
32 | Summary: Header files for libvisual library | |
f565ab6d | 33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libvisual |
f9512e9e | 34 | Group: Development/Libraries |
35 | Requires: %{name} = %{version}-%{release} | |
36 | ||
37 | %description devel | |
38 | Header files for libvisual library. | |
39 | ||
c9450233 JR |
40 | %description devel -l pl.UTF-8 |
41 | Pliki nagłówkowe biblioteki libvisual. | |
f9512e9e | 42 | |
43 | %package static | |
44 | Summary: Static libvisual library | |
f565ab6d | 45 | Summary(pl.UTF-8): Statyczna biblioteka libvisual |
f9512e9e | 46 | Group: Development/Libraries |
47 | Requires: %{name}-devel = %{version}-%{release} | |
48 | ||
49 | %description static | |
50 | Static libvisual library. | |
51 | ||
c9450233 | 52 | %description static -l pl.UTF-8 |
f9512e9e | 53 | Statyczna biblioteka libvisual. |
54 | ||
55 | %prep | |
56 | %setup -q | |
6f16e52c | 57 | %patch0 -p1 |
d7a728c3 | 58 | %patch1 -p1 |
34196a00 | 59 | %patch2 -p1 |
f9512e9e | 60 | |
a5922db6 | 61 | %{__mv} po/{es_ES,es}.po |
ed487bfd | 62 | # es_AR is a copy of es |
e10ac8b5 | 63 | %{__rm} po/{es_AR.po,stamp-po} |
324d7504 | 64 | sed -i -e 's|es_ES es_AR|es|' po/LINGUAS |
e10ac8b5 JB |
65 | # hack for newer gettext |
66 | sed -i -e 's/DOMAIN = .*/DOMAIN = libvisual-0.4/' po/Makevars | |
324d7504 | 67 | |
f9512e9e | 68 | %build |
e10ac8b5 JB |
69 | %{__gettextize} |
70 | %{__libtoolize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
f9512e9e | 75 | %configure \ |
76 | --enable-static | |
2613360e | 77 | %{__make} |
1a36d017 | 78 | |
f9512e9e | 79 | %install |
80 | rm -rf $RPM_BUILD_ROOT | |
9b81ce75 | 81 | install -d $RPM_BUILD_ROOT%{_libdir}/libvisual-0.4 |
f9512e9e | 82 | |
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
1ac5f2ed JB |
85 | |
86 | %find_lang %{name}-0.4 | |
f9512e9e | 87 | |
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
1ac5f2ed | 94 | %files -f %{name}-0.4.lang |
f9512e9e | 95 | %defattr(644,root,root,755) |
96 | %doc AUTHORS ChangeLog NEWS README TODO | |
e10ac8b5 JB |
97 | %attr(755,root,root) %{_libdir}/libvisual-0.4.so.*.*.* |
98 | %attr(755,root,root) %ghost %{_libdir}/libvisual-0.4.so.0 | |
9b81ce75 | 99 | %dir %{_libdir}/libvisual-0.4 |
f9512e9e | 100 | |
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
e10ac8b5 JB |
103 | %attr(755,root,root) %{_libdir}/libvisual-0.4.so |
104 | %{_libdir}/libvisual-0.4.la | |
105 | %{_includedir}/libvisual-0.4 | |
106 | %{_pkgconfigdir}/libvisual-0.4.pc | |
f9512e9e | 107 | |
108 | %files static | |
109 | %defattr(644,root,root,755) | |
e10ac8b5 | 110 | %{_libdir}/libvisual-0.4.a |