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