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