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