]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.mono | |
2 | # | |
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: 0.99.3 | |
8 | Release: 1 | |
9 | License: GPL | |
10 | Group: Applications/Multimedia | |
11 | Source0: http://banshee-project.org/files/banshee/%{name}-1-%{version}.tar.gz | |
12 | # Source0-md5: db148cf72cf2acc684de7207316f299f | |
13 | URL: http://banshee-project.org/ | |
14 | BuildRequires: GConf2-devel | |
15 | BuildRequires: autoconf >= 2.13 | |
16 | BuildRequires: automake | |
17 | BuildRequires: dbus-devel >= 0.93 | |
18 | BuildRequires: dbus-glib-devel >= 0.71 | |
19 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 | |
20 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0 | |
21 | BuildRequires: dotnet-ipod-sharp >= 0.8.0 | |
22 | BuildRequires: dotnet-libgphoto2-sharp-devel | |
23 | BuildRequires: dotnet-mono-zeroconf-devel | |
24 | BuildRequires: dotnet-njb-sharp | |
25 | BuildRequires: gnome-desktop-devel >= 2.16.0 | |
26 | BuildRequires: gstreamer-GConf >= 0.10.3 | |
27 | BuildRequires: gstreamer-cdparanoia | |
28 | BuildRequires: gstreamer-devel >= 0.10.3 | |
29 | BuildRequires: gstreamer-gnomevfs | |
30 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.3 | |
31 | BuildRequires: gtk+2-devel >= 2:2.10.3 | |
32 | BuildRequires: hal-devel >= 0.5.2 | |
33 | BuildRequires: intltool >= 0.35 | |
34 | BuildRequires: libmtp-devel >= 0.2.0 | |
35 | BuildRequires: libmusicbrainz-devel >= 2.1.1 | |
36 | BuildRequires: libtool | |
37 | BuildRequires: mono-addins-devel >= 0.3 | |
38 | BuildRequires: mono-csharp >= 1.1.13 | |
39 | BuildRequires: monodoc | |
40 | BuildRequires: nautilus-cd-burner-devel >= 2.16.0 | |
41 | BuildRequires: pkgconfig | |
42 | BuildRequires: sqlite3-devel | |
43 | BuildRequires: taglib-sharp-devel | |
44 | Requires: gstreamer-GConf >= 0.10.3 | |
45 | Requires: gstreamer-cdparanoia >= 0.10.3 | |
46 | Requires: gstreamer-gnomevfs >= 0.10.3 | |
47 | Obsoletes: banshee-official-plugins <= 0.11.3 | |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %description | |
51 | Banshee is a brand spankin' new audio player based on the GStreamer | |
52 | media library and is developed on the Open Source Mono .NET Platform, | |
53 | written in C#. | |
54 | ||
55 | %description -l pl.UTF-8 | |
56 | Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza | |
57 | multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w | |
58 | C#. | |
59 | ||
60 | %prep | |
61 | %setup -q -n %{name}-1-%{version} | |
62 | ||
63 | %build | |
64 | %{__intltoolize} | |
65 | %{__aclocal} -I build/m4/banshee -I build/m4/shamrock | |
66 | %{__libtoolize} | |
67 | %{__automake} | |
68 | %{__autoconf} | |
69 | %configure \ | |
70 | --disable-dev-tests \ | |
71 | --disable-helix \ | |
72 | --enable-ipod \ | |
73 | --enable-njb \ | |
74 | --disable-vlc \ | |
75 | --enable-gstreamer \ | |
76 | --enable-avahi \ | |
77 | --disable-docs | |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
83 | ||
84 | %{__make} install \ | |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
87 | #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources | |
88 | ||
89 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a} | |
90 | ||
91 | %find_lang %{name}-1 | |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %post | |
97 | %update_desktop_database_post | |
98 | %update_icon_cache hicolor | |
99 | ||
100 | %postun | |
101 | %update_desktop_database_postun | |
102 | %update_icon_cache hicolor | |
103 | ||
104 | %files -f %{name}-1.lang | |
105 | %defattr(644,root,root,755) | |
106 | %doc AUTHORS COPYING ChangeLog NEWS README | |
107 | %attr(755,root,root) %{_bindir}/banshee-1 | |
108 | %{_datadir}/banshee-1 | |
109 | %{_pkgconfigdir}/banshee-1*.pc | |
110 | %dir %{_libdir}/banshee-1 | |
111 | %{_libdir}/banshee-1/*.dll | |
112 | %attr(755,root,root) %{_libdir}/banshee-1/*.so | |
113 | %{_libdir}/banshee-1/*.exe | |
114 | %{_libdir}/banshee-1/*.mdb | |
115 | %{_libdir}/banshee-1/*.config | |
116 | %dir %{_libdir}/banshee-1/Extensions | |
117 | %{_libdir}/banshee-1/Extensions/*.dll | |
118 | %{_libdir}/banshee-1/Extensions/*.mdb | |
119 | %dir %{_libdir}/banshee-1/Backends | |
120 | %{_libdir}/banshee-1/Backends/*.dll | |
121 | %{_libdir}/banshee-1/Backends/*.mdb | |
122 | %{_libdir}/banshee-1/Banshee.Services.addins | |
123 | %{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config | |
124 | #%{_libdir}/banshee-1/libbanshee.a | |
125 | #%{_libdir}/banshee-1/libbanshee.la | |
126 | #%{_libdir}/monodoc/sources/* | |
127 | %{_desktopdir}/banshee-1.desktop | |
128 | %{_iconsdir}/hicolor/*/*/* | |
129 | %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service |