]> git.pld-linux.org Git - packages/banshee.git/blob - banshee.spec
- updated to 2.0.0
[packages/banshee.git] / banshee.spec
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.0.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Multimedia
11 Source0:        http://download.banshee-project.org/banshee/stable/2.0.0/%{name}-%{version}.tar.bz2
12 # Source0-md5:  ecd129a3232bda507b98c90e6f9272cf
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 >= 0.2
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-doc-utils >= 0.18.0
34 BuildRequires:  gstreamer-devel >= 0.10.23
35 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.26
36 BuildRequires:  gtk+2-devel >= 2:2.22.0
37 BuildRequires:  gtk-webkit-devel >= 1.2.2
38 BuildRequires:  intltool >= 0.35.0
39 BuildRequires:  libmtp-devel >= 0.3.0
40 BuildRequires:  libsoup-gnome-devel >= 2.26.0
41 BuildRequires:  libtool
42 BuildRequires:  mono-addins-devel >= 0.3.1-2
43 BuildRequires:  mono-csharp >= 2.4.3
44 BuildRequires:  monodoc
45 BuildRequires:  pkgconfig
46 BuildRequires:  rpmbuild(macros) >= 1.311
47 BuildRequires:  sqlite3-devel >= 3.4.0
48 BuildRequires:  xorg-lib-libXrandr-devel >= 1.1.1
49 BuildRequires:  xorg-lib-libXxf86vm-devel >= 1.0.1
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
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         --disable-hal \
85         --enable-ipod \
86         --disable-docs \
87         --disable-shave \
88         --with-vendor-build-id="%{distribution}"
89 %{__make} -j1
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a}
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/gstreamer-0.10/*.{la,a}
100
101 %find_lang %{name} --with-gnome --all-name
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post
107 %update_desktop_database_post
108 %update_icon_cache hicolor
109 %update_mime_database
110
111 %postun
112 %update_desktop_database_postun
113 %update_icon_cache hicolor
114 %update_mime_database
115
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/banshee
120 %attr(755,root,root) %{_bindir}/bamz
121 %attr(755,root,root) %{_bindir}/muinshee
122 %{_datadir}/banshee
123 %{_pkgconfigdir}/banshee*.pc
124 %dir %{_libdir}/banshee
125 %{_libdir}/banshee/*.dll
126 %attr(755,root,root) %{_libdir}/banshee/*.so
127 %{_libdir}/banshee/*.exe
128 %{_libdir}/banshee/*.mdb
129 %{_libdir}/banshee/*.config
130 %dir %{_libdir}/banshee/Extensions
131 %{_libdir}/banshee/Extensions/*.dll
132 %{_libdir}/banshee/Extensions/*.exe
133 %{_libdir}/banshee/Extensions/*.mdb
134 %{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config
135 %{_libdir}/banshee/Extensions/libgpod-sharp.dll.config
136 %dir %{_libdir}/banshee/Backends
137 %{_libdir}/banshee/Backends/*.config
138 %{_libdir}/banshee/Backends/*.dll
139 %{_libdir}/banshee/Backends/*.mdb
140 %{_libdir}/banshee/Backends/*.so
141 %{_libdir}/banshee/Banshee.Services.addins
142 %dir %{_libdir}/banshee/gstreamer-0.10
143 %{_libdir}/banshee/gstreamer-0.10/*.so
144 %{_desktopdir}/banshee-audiocd.desktop
145 %{_desktopdir}/banshee-media-player.desktop
146 %{_desktopdir}/banshee.desktop
147 %{_iconsdir}/hicolor/*/*/*
148 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
149 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
150 %{_datadir}/mime/packages/banshee-amz.xml
This page took 0.085944 seconds and 4 git commands to generate.