]> git.pld-linux.org Git - packages/audacious.git/blob - audacious.spec
- updated to 1.2.2
[packages/audacious.git] / audacious.spec
1 #
2 # Conditional build:
3 %bcond_with     gconf           # build without gconf support
4 #
5 Summary:        Sound player with the WinAmp GUI, for Unix-based systems for GTK+2
6 Summary(pl):    Odtwarzacz d¼wiêku z interfejsem WinAmpa dla GTK+2
7 Name:           audacious
8 Version:        1.2.2
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Sound
12 Source0:        http://audacious-media-player.org/release/%{name}-%{version}.tgz
13 # Source0-md5:  e774afbda04220e6e1b0a9bff350522e
14 Source1:        mp3license
15 Patch0:         %{name}-desktop.patch
16 Patch1:         %{name}-home_etc.patch
17 URL:            http://audacious-media-player.org/
18 %{?with_gconf:BuildRequires:    GConf2-devel >= 2.6.0}
19 BuildRequires:  autoconf >= 2.59
20 BuildRequires:  automake
21 BuildRequires:  gtk+2-devel >= 2:2.6.0
22 BuildRequires:  gettext-devel
23 BuildRequires:  home-etc-devel
24 BuildRequires:  libglade2-devel >= 2.3.1
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(macros) >= 1.198
27 Requires:       %{name}-libs = %{version}-%{release}
28 Requires:       audacious-output-plugin
29 Requires(post,postun):  desktop-file-utils
30 Obsoletes:      audacious-static
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Audacious is a media player based on BMP. Since the development of the
35 former project had been terminated, this fork was created.
36
37 %description -l pl
38 Audacious to odtwarzacz mediów oparty na BMP. Powsta³ on poniewa¿
39 rozwój pierwowzoru zosta³ zakoñczony.
40
41 %package libs
42 Summary:        Audacious media player library
43 Summary(pl):    Biblioteka odtwarzacza multimedialnego Audacious
44 Group:          X11/Applications/Sound
45
46 %description libs
47 Audacious media player library.
48
49 %description libs -l pl
50 Biblioteka odtwarzacza multimedialnego Audacious.
51
52 %package devel
53 Summary:        Header files for Audacious media player
54 Summary(pl):    Pliki nag³ówkowe odtwarzacza multimedialnego Audacious
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-libs = %{version}-%{release}
57 Requires:       gtk+2-devel >= 2:2.6.0
58 Requires:       home-etc-devel
59
60 %description devel
61 Header files required for compiling Audacious media player plugins.
62
63 %description devel -l pl
64 Pliki nag³ówkowe potrzebne do kompilowania wtyczek odtwarzacza
65 multimedialnego Audacious.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71
72 %build
73 %{__aclocal} -I m4
74 %{__autoconf}
75 %{__autoheader}
76 %configure \
77         --%{?with_gconf:en}%{!?with_gconf:dis}able-gconf \
78         --enable-shared
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_libdir}/audacious/{Container,Effect,General,Input,Output,Visualization}
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %find_lang %{name}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post
95 %banner %{name} -e << EOF
96 Remember to install appropriate input plugins for files
97 you want to play!
98 EOF
99
100 %update_desktop_database_post
101
102 %postun
103 %update_desktop_database_postun
104
105 %post   libs -p /sbin/ldconfig
106 %postun libs -p /sbin/ldconfig
107
108 %files -f %{name}.lang
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/audacious
111 %attr(755,root,root) %{_bindir}/audtool
112 %dir %{_libdir}/audacious
113 %dir %{_libdir}/audacious/Container
114 %dir %{_libdir}/audacious/Effect
115 %dir %{_libdir}/audacious/General
116 %dir %{_libdir}/audacious/Input
117 %dir %{_libdir}/audacious/Output
118 %dir %{_libdir}/audacious/Visualization
119
120 %{_mandir}/man*/*
121
122 %dir %{_datadir}/audacious
123 %{_datadir}/audacious/glade
124 %dir %{_datadir}/audacious/images
125 %{_datadir}/audacious/images/*
126 %{_datadir}/audacious/Skins
127 %{_desktopdir}/*.desktop
128 %{_pixmapsdir}/*.png
129
130 %files libs
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libaudacious.so.*.*
133
134 %files devel
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/libaudacious.so
137 %{_includedir}/audacious
138 %{_pkgconfigdir}/audacious.pc
This page took 0.082653 seconds and 4 git commands to generate.