]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %include /usr/lib/rpm/macros.mono | |
3 | # | |
4 | Summary: A Mono/GStreamer Based Music Player | |
5 | Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki | |
6 | Name: banshee | |
7 | Version: 1.8.1 | |
8 | Release: 3 | |
9 | License: GPL | |
10 | Group: X11/Applications/Multimedia | |
11 | Source0: http://download.banshee-project.org/banshee/stable/1.8.1/%{name}-1-%{version}.tar.bz2 | |
12 | # Source0-md5: 15311add4f943300701d7da3b488452e | |
13 | URL: http://banshee.fm/ | |
14 | BuildRequires: GConf2-devel | |
15 | BuildRequires: autoconf >= 2.52 | |
16 | BuildRequires: automake >= 1:1.9 | |
17 | BuildRequires: clutter-devel >= 1.0.1 | |
18 | BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0 | |
19 | BuildRequires: dotnet-gio-sharp-devel | |
20 | BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1 | |
21 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 | |
22 | BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8 | |
23 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10 | |
24 | BuildRequires: dotnet-gudev-sharp-devel >= 0.1 | |
25 | BuildRequires: dotnet-ipod-sharp-devel >= 0.8.5 | |
26 | BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.0 | |
27 | BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0 | |
28 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3 | |
29 | BuildRequires: dotnet-notify-sharp-devel | |
30 | BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7 | |
31 | BuildRequires: gettext-devel | |
32 | BuildRequires: glib2-devel >= 1:2.22.0 | |
33 | BuildRequires: gnome-desktop-devel >= 2.28.0 | |
34 | BuildRequires: gnome-doc-utils >= 0.18.0 | |
35 | BuildRequires: gstreamer-devel >= 0.10.12 | |
36 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.25.2 | |
37 | BuildRequires: gtk+2-devel >= 2:2.10.3 | |
38 | BuildRequires: gtk-webkit-devel >= 1.2.2 | |
39 | BuildRequires: hal-devel >= 0.5.2 | |
40 | BuildRequires: intltool >= 0.35.0 | |
41 | BuildRequires: libmtp-devel >= 0.3.0 | |
42 | BuildRequires: libsoup-gnome-devel >= 2.26.0 | |
43 | BuildRequires: libtool | |
44 | BuildRequires: mono-addins-devel >= 0.3.1-2 | |
45 | BuildRequires: mono-csharp >= 2.4.3 | |
46 | BuildRequires: monodoc | |
47 | BuildRequires: pkgconfig | |
48 | BuildRequires: rpmbuild(macros) >= 1.311 | |
49 | BuildRequires: sqlite3-devel >= 3.4.0 | |
50 | Requires(post,postun): desktop-file-utils | |
51 | Requires(post,postun): gtk-update-icon-cache | |
52 | Requires(post,postun): shared-mime-info | |
53 | Requires: dotnet-ipod-sharp >= 0.8.5 | |
54 | Requires: gstreamer-GConf >= 0.10.3 | |
55 | Requires: gstreamer-cdparanoia >= 0.10.3 | |
56 | Requires: hicolor-icon-theme | |
57 | Requires: mono-addins >= 0.3.1-2 | |
58 | Suggests: brasero | |
59 | Obsoletes: banshee-official-plugins <= 0.11.3 | |
60 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
61 | ||
62 | %description | |
63 | Banshee is a brand spankin' new audio player based on the GStreamer | |
64 | media library and is developed on the Open Source Mono .NET Platform, | |
65 | written in C#. | |
66 | ||
67 | %description -l pl.UTF-8 | |
68 | Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza | |
69 | multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w | |
70 | C#. | |
71 | ||
72 | %prep | |
73 | %setup -q -n %{name}-1-%{version} | |
74 | ||
75 | %build | |
76 | %{__libtoolize} | |
77 | %{__intltoolize} | |
78 | %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock | |
79 | %{__automake} | |
80 | %{__autoconf} | |
81 | ||
82 | %configure \ | |
83 | --disable-boo \ | |
84 | --enable-ipod \ | |
85 | --disable-docs \ | |
86 | --disable-shave \ | |
87 | --with-vendor-build-id="%{distribution}" | |
88 | %{__make} -j1 | |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %{__make} install \ | |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
96 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a} | |
97 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a} | |
98 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a} | |
99 | ||
100 | %find_lang %{name}-1 --with-gnome --all-name | |
101 | ||
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %post | |
106 | %update_desktop_database_post | |
107 | %update_icon_cache hicolor | |
108 | %update_mime_database | |
109 | ||
110 | %postun | |
111 | %update_desktop_database_postun | |
112 | %update_icon_cache hicolor | |
113 | %update_mime_database | |
114 | ||
115 | %files -f %{name}-1.lang | |
116 | %defattr(644,root,root,755) | |
117 | %doc AUTHORS COPYING ChangeLog NEWS README | |
118 | %attr(755,root,root) %{_bindir}/banshee-1 | |
119 | %attr(755,root,root) %{_bindir}/bamz | |
120 | %attr(755,root,root) %{_bindir}/muinshee | |
121 | %{_datadir}/banshee-1 | |
122 | %{_pkgconfigdir}/banshee-1*.pc | |
123 | %dir %{_libdir}/banshee-1 | |
124 | %{_libdir}/banshee-1/*.dll | |
125 | %attr(755,root,root) %{_libdir}/banshee-1/*.so | |
126 | %{_libdir}/banshee-1/*.exe | |
127 | %{_libdir}/banshee-1/*.mdb | |
128 | %{_libdir}/banshee-1/*.config | |
129 | %dir %{_libdir}/banshee-1/Extensions | |
130 | %{_libdir}/banshee-1/Extensions/*.dll | |
131 | %{_libdir}/banshee-1/Extensions/*.exe | |
132 | %{_libdir}/banshee-1/Extensions/*.mdb | |
133 | %{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config | |
134 | %{_libdir}/banshee-1/Extensions/libgpod-sharp.dll.config | |
135 | %dir %{_libdir}/banshee-1/Backends | |
136 | %{_libdir}/banshee-1/Backends/*.config | |
137 | %{_libdir}/banshee-1/Backends/*.dll | |
138 | %{_libdir}/banshee-1/Backends/*.mdb | |
139 | %{_libdir}/banshee-1/Backends/*.so | |
140 | %{_libdir}/banshee-1/Banshee.Services.addins | |
141 | %dir %{_libdir}/banshee-1/gstreamer-0.10 | |
142 | %{_libdir}/banshee-1/gstreamer-0.10/*.so | |
143 | %{_desktopdir}/banshee-1-audiocd.desktop | |
144 | %{_desktopdir}/banshee-1-media-player.desktop | |
145 | %{_desktopdir}/banshee-1.desktop | |
146 | %{_iconsdir}/hicolor/*/*/* | |
147 | %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service | |
148 | %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service | |
149 | %{_datadir}/mime/packages/banshee-amz.xml |