]>
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: 2.6.2 | |
8 | Release: 2 | |
9 | License: MIT | |
10 | Group: X11/Applications/Multimedia | |
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/%{name}-%{version}.tar.xz | |
12 | # Source0-md5: 12dbb8a996783f7081d538062a8589b7 | |
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.2.0 | |
18 | BuildRequires: dotnet-dbus-sharp-devel >= 0.7 | |
19 | BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5 | |
20 | BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0 | |
21 | BuildRequires: dotnet-gio-sharp-devel >= 0.3 | |
22 | BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1 | |
23 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 | |
24 | BuildRequires: dotnet-gstreamer-sharp-devel | |
25 | BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8 | |
26 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10 | |
27 | BuildRequires: dotnet-gudev-sharp-devel >= 0.1 | |
28 | BuildRequires: dotnet-karma-sharp-devel >= 0.0.5 | |
29 | BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.2 | |
30 | BuildRequires: dotnet-mono-upnp-devel >= 0.1 | |
31 | BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0 | |
32 | BuildRequires: dotnet-notify-sharp-devel | |
33 | BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7 | |
34 | BuildRequires: gettext-devel | |
35 | BuildRequires: glib2-devel >= 1:2.22.0 | |
36 | BuildRequires: gnome-desktop2-devel | |
37 | BuildRequires: gnome-doc-utils >= 0.18.0 | |
38 | BuildRequires: gstreamer0.10-devel >= 0.10.26 | |
39 | BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.26 | |
40 | BuildRequires: gtk+2-devel >= 2:2.22.0 | |
41 | BuildRequires: gtk-webkit-devel >= 1.2.2 | |
42 | BuildRequires: intltool >= 0.35.0 | |
43 | BuildRequires: libmtp-devel >= 0.3.0 | |
44 | BuildRequires: libsoup-gnome-devel >= 2.26.0 | |
45 | BuildRequires: libtool | |
46 | BuildRequires: mono-addins-devel >= 0.6.2 | |
47 | BuildRequires: mono-csharp >= 2.4.3 | |
48 | BuildRequires: monodoc | |
49 | BuildRequires: pkgconfig | |
50 | BuildRequires: rpmbuild(macros) >= 1.311 | |
51 | BuildRequires: sed >= 4.0 | |
52 | BuildRequires: sqlite3-devel >= 3.4.0 | |
53 | BuildRequires: tar >= 1:1.22 | |
54 | BuildRequires: xorg-lib-libXrandr-devel >= 1.1.1 | |
55 | BuildRequires: xorg-lib-libXxf86vm-devel >= 1.0.1 | |
56 | BuildRequires: xz | |
57 | Requires(post,postun): desktop-file-utils | |
58 | Requires(post,postun): gtk-update-icon-cache | |
59 | Requires(post,postun): shared-mime-info | |
60 | Requires: gstreamer0.10-GConf >= 0.10.26 | |
61 | Requires: gstreamer0.10-cdparanoia >= 0.10.26 | |
62 | Requires: hicolor-icon-theme | |
63 | Requires: mono-addins >= 0.6.2 | |
64 | Suggests: brasero | |
65 | Suggests: media-player-info | |
66 | Obsoletes: banshee-official-plugins <= 0.11.3 | |
67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
68 | ||
69 | %description | |
70 | Banshee is a brand spankin' new audio player based on the GStreamer | |
71 | media library and is developed on the Open Source Mono .NET Platform, | |
72 | written in C#. | |
73 | ||
74 | %description -l pl.UTF-8 | |
75 | Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza | |
76 | multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w | |
77 | C#. | |
78 | ||
79 | %package devel | |
80 | Summary: Banshee development files | |
81 | Summary(pl.UTF-8): Pliki programistyczne dla Banshee | |
82 | Group: Development/Libraries | |
83 | Requires: %{name} = %{version}-%{release} | |
84 | Requires: dotnet-dbus-sharp-devel >= 0.7 | |
85 | Requires: dotnet-dbus-sharp-glib-devel >= 0.5 | |
86 | Requires: dotnet-gtk-sharp2-devel >= 2.12.10 | |
87 | Requires: dotnet-taglib-sharp-devel >= 2.0.3.7 | |
88 | Requires: mono-addins-devel >= 0.6.2 | |
89 | ||
90 | %description devel | |
91 | This package provides development files for Banshee. | |
92 | ||
93 | %description devel -l pl.UTF-8 | |
94 | Ten pakiet dostarcza pliki programistyczne dla Banshee. | |
95 | ||
96 | %prep | |
97 | %setup -q | |
98 | ||
99 | %{__sed} -i -e 's/MONO_2_0_COMPILER/MONO_4_0_COMPILER/' configure.ac | |
100 | ||
101 | %build | |
102 | %{__libtoolize} | |
103 | %{__intltoolize} | |
104 | %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock | |
105 | %{__automake} | |
106 | %{__autoconf} | |
107 | ||
108 | %configure \ | |
109 | --disable-boo \ | |
110 | --disable-docs \ | |
111 | --disable-shave \ | |
112 | --with-vendor-build-id="%{distribution}" | |
113 | %{__make} -j1 | |
114 | ||
115 | %install | |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
118 | %{__make} install \ | |
119 | DESTDIR=$RPM_BUILD_ROOT | |
120 | ||
121 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a} | |
122 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a} | |
123 | ||
124 | %find_lang %{name} --with-gnome --all-name | |
125 | ||
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %post | |
130 | %update_desktop_database_post | |
131 | %update_icon_cache hicolor | |
132 | %update_mime_database | |
133 | ||
134 | %postun | |
135 | %update_desktop_database_postun | |
136 | %update_icon_cache hicolor | |
137 | %update_mime_database | |
138 | ||
139 | %files -f %{name}.lang | |
140 | %defattr(644,root,root,755) | |
141 | %doc AUTHORS COPYING ChangeLog NEWS README | |
142 | %attr(755,root,root) %{_bindir}/banshee | |
143 | %attr(755,root,root) %{_bindir}/bamz | |
144 | %attr(755,root,root) %{_bindir}/muinshee | |
145 | %{_datadir}/banshee | |
146 | %dir %{_libdir}/banshee | |
147 | %{_libdir}/banshee/*.dll | |
148 | %attr(755,root,root) %{_libdir}/banshee/*.so | |
149 | %{_libdir}/banshee/*.exe | |
150 | %{_libdir}/banshee/*.mdb | |
151 | %{_libdir}/banshee/*.config | |
152 | %dir %{_libdir}/banshee/Extensions | |
153 | %{_libdir}/banshee/Extensions/*.dll | |
154 | %{_libdir}/banshee/Extensions/*.exe | |
155 | %{_libdir}/banshee/Extensions/*.mdb | |
156 | %{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config | |
157 | %{_libdir}/banshee/Extensions/karma-sharp.dll.config | |
158 | %{_libdir}/banshee/Extensions/libgpod-sharp.dll.config | |
159 | %dir %{_libdir}/banshee/Backends | |
160 | %{_libdir}/banshee/Backends/*.config | |
161 | %{_libdir}/banshee/Backends/*.dll | |
162 | %{_libdir}/banshee/Backends/*.mdb | |
163 | %attr(755,root,root) %{_libdir}/banshee/Backends/*.so | |
164 | %{_libdir}/banshee/Banshee.Services.addins | |
165 | %{_desktopdir}/banshee-audiocd.desktop | |
166 | %{_desktopdir}/banshee-media-player.desktop | |
167 | %{_desktopdir}/banshee.desktop | |
168 | %{_iconsdir}/hicolor/*/apps/media-player-banshee.png | |
169 | %{_datadir}/appdata/banshee.appdata.xml | |
170 | %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service | |
171 | %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service | |
172 | %{_datadir}/mime/packages/banshee-amz.xml | |
173 | %{_datadir}/mime/packages/banshee-emx.xml | |
174 | ||
175 | %files devel | |
176 | %defattr(644,root,root,755) | |
177 | %{_pkgconfigdir}/banshee*.pc |