]> git.pld-linux.org Git - packages/banshee.git/blame_incremental - banshee.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/banshee.git] / banshee.spec
... / ...
CommitLineData
1Summary: A Mono/GStreamer Based Music Player
2Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
3Name: banshee
4Version: 2.6.2
5Release: 5
6License: MIT
7Group: X11/Applications/Multimedia
8Source0: http://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/%{name}-%{version}.tar.xz
9# Source0-md5: 12dbb8a996783f7081d538062a8589b7
10URL: http://banshee.fm/
11BuildRequires: GConf2-devel
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake >= 1:1.9
14BuildRequires: clutter-devel >= 1.2.0
15BuildRequires: dotnet-dbus-sharp-devel >= 0.7
16BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5
17BuildRequires: dotnet-gconf-sharp-devel >= 2.8
18BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0
19BuildRequires: dotnet-gio-sharp-devel >= 0.3
20BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1
21BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
22BuildRequires: dotnet-gstreamer-sharp-devel
23BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8
24BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10
25BuildRequires: dotnet-gudev-sharp-devel >= 0.1
26BuildRequires: dotnet-karma-sharp-devel >= 0.0.5
27BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.2
28BuildRequires: dotnet-mono-upnp-devel >= 0.1
29BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0
30BuildRequires: dotnet-notify-sharp-devel
31BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7
32BuildRequires: gettext-tools
33BuildRequires: glib2-devel >= 1:2.22.0
34BuildRequires: gnome-desktop2-devel
35BuildRequires: gnome-doc-utils >= 0.18.0
36BuildRequires: gstreamer0.10-devel >= 0.10.26
37BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.26
38BuildRequires: gtk+2-devel >= 2:2.22.0
39BuildRequires: gtk-webkit-devel >= 1.2.2
40BuildRequires: intltool >= 0.35.0
41BuildRequires: libmtp-devel >= 0.3.0
42BuildRequires: libsoup-gnome-devel >= 2.26.0
43BuildRequires: libtool
44BuildRequires: mono-addins-devel >= 0.6.2
45BuildRequires: mono-csharp >= 2.4.3
46BuildRequires: monodoc
47BuildRequires: pkgconfig
48BuildRequires: rpmbuild(macros) >= 1.730
49BuildRequires: sed >= 4.0
50BuildRequires: sqlite3-devel >= 3.4.0
51BuildRequires: tar >= 1:1.22
52BuildRequires: xorg-lib-libXrandr-devel >= 1.1.1
53BuildRequires: xorg-lib-libXxf86vm-devel >= 1.0.1
54BuildRequires: xz
55Requires(post,postun): desktop-file-utils
56Requires(post,postun): gtk-update-icon-cache
57Requires(post,postun): shared-mime-info
58Requires: gstreamer0.10-GConf >= 0.10.26
59Requires: gstreamer0.10-cdparanoia >= 0.10.26
60Requires: hicolor-icon-theme
61Requires: mono-addins >= 0.6.2
62Suggests: brasero
63Suggests: media-player-info
64Obsoletes: banshee-official-plugins <= 0.11.3
65BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66
67%define _noautoreq_mono Banshee.* Hyena.* Lastfm Lastfm.Gui Migo Mono.Media Mtp MusicBrainz
68
69%description
70Banshee is a brand spankin' new audio player based on the GStreamer
71media library and is developed on the Open Source Mono .NET Platform,
72written in C#.
73
74%description -l pl.UTF-8
75Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
76multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
77C#.
78
79%package devel
80Summary: Banshee development files
81Summary(pl.UTF-8): Pliki programistyczne dla Banshee
82Group: Development/Libraries
83Requires: %{name} = %{version}-%{release}
84Requires: dotnet-dbus-sharp-devel >= 0.7
85Requires: dotnet-dbus-sharp-glib-devel >= 0.5
86Requires: dotnet-gtk-sharp2-devel >= 2.12.10
87Requires: dotnet-taglib-sharp-devel >= 2.0.3.7
88Requires: mono-addins-devel >= 0.6.2
89
90%description devel
91This package provides development files for Banshee.
92
93%description devel -l pl.UTF-8
94Ten pakiet dostarcza pliki programistyczne dla Banshee.
95
96%prep
97%setup -q
98
99# gmcs is obsolete
100%{__sed} -i -e 's/MONO_2_0_COMPILER/MONO_4_0_COMPILER/' configure.ac
101# disable unnecessary check which fails with mono 4.x
102%{__sed} -i -e '/SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES/d' configure.ac
103
104%build
105%{__libtoolize}
106%{__intltoolize}
107%{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
108%{__automake}
109%{__autoconf}
110
111%configure \
112 --disable-boo \
113 --disable-docs \
114 --disable-shave \
115 --with-vendor-build-id="%{distribution}"
116%{__make} -j1
117
118%install
119rm -rf $RPM_BUILD_ROOT
120
121%{__make} install \
122 DESTDIR=$RPM_BUILD_ROOT
123
124%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
125%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a}
126
127%find_lang %{name} --with-gnome --all-name
128
129%clean
130rm -rf $RPM_BUILD_ROOT
131
132%post
133%update_desktop_database_post
134%update_icon_cache hicolor
135%update_mime_database
136
137%postun
138%update_desktop_database_postun
139%update_icon_cache hicolor
140%update_mime_database
141
142%files -f %{name}.lang
143%defattr(644,root,root,755)
144%doc AUTHORS COPYING ChangeLog NEWS README
145%attr(755,root,root) %{_bindir}/banshee
146%attr(755,root,root) %{_bindir}/bamz
147%attr(755,root,root) %{_bindir}/muinshee
148%{_datadir}/banshee
149%dir %{_libdir}/banshee
150%{_libdir}/banshee/*.dll
151%attr(755,root,root) %{_libdir}/banshee/*.so
152%{_libdir}/banshee/*.exe
153%{_libdir}/banshee/*.mdb
154%{_libdir}/banshee/*.config
155%dir %{_libdir}/banshee/Extensions
156%{_libdir}/banshee/Extensions/*.dll
157%{_libdir}/banshee/Extensions/*.exe
158%{_libdir}/banshee/Extensions/*.mdb
159%{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config
160%{_libdir}/banshee/Extensions/karma-sharp.dll.config
161%{_libdir}/banshee/Extensions/libgpod-sharp.dll.config
162%dir %{_libdir}/banshee/Backends
163%{_libdir}/banshee/Backends/*.config
164%{_libdir}/banshee/Backends/*.dll
165%{_libdir}/banshee/Backends/*.mdb
166%attr(755,root,root) %{_libdir}/banshee/Backends/*.so
167%{_libdir}/banshee/Banshee.Services.addins
168%{_desktopdir}/banshee-audiocd.desktop
169%{_desktopdir}/banshee-media-player.desktop
170%{_desktopdir}/banshee.desktop
171%{_iconsdir}/hicolor/*/apps/media-player-banshee.png
172%{_datadir}/appdata/banshee.appdata.xml
173%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
174%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
175%{_datadir}/mime/packages/banshee-amz.xml
176%{_datadir}/mime/packages/banshee-emx.xml
177
178%files devel
179%defattr(644,root,root,755)
180%{_pkgconfigdir}/banshee*.pc
This page took 0.052194 seconds and 4 git commands to generate.