]> git.pld-linux.org Git - packages/banshee.git/blame_incremental - banshee.spec
- well, obsolete latest released plugins (0.11.3) too
[packages/banshee.git] / banshee.spec
... / ...
CommitLineData
1%include /usr/lib/rpm/macros.mono
2#
3
4Summary: A Mono/GStreamer Based Music Player
5Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
6Name: banshee
7Version: 0.13.1
8Release: 1
9License: GPL
10Group: Applications/Multimedia
11Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
12# Source0-md5: fbe9189ad4d2eecc72d86fa6d4dd5308
13URL: http://banshee-project.org/
14BuildRequires: GConf2-devel
15BuildRequires: autoconf >= 2.13
16BuildRequires: automake
17BuildRequires: dbus-devel >= 0.93
18BuildRequires: dbus-glib-devel >= 0.71
19BuildRequires: dotnet-avahi-devel
20BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
21BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
22BuildRequires: dotnet-ipod-sharp >= 0.6.3
23BuildRequires: dotnet-libgphoto2-sharp-devel
24BuildRequires: dotnet-njb-sharp
25BuildRequires: gnome-desktop-devel >= 2.16.0
26BuildRequires: gstreamer-cdparanoia
27BuildRequires: gstreamer-devel >= 0.10.3
28BuildRequires: gstreamer-gnomevfs
29BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
30BuildRequires: gstreamer-GConf >= 0.10.3
31BuildRequires: gtk+2-devel >= 2.10.3
32BuildRequires: hal-devel >= 0.5.2
33BuildRequires: intltool >= 0.35
34BuildRequires: libmusicbrainz-devel >= 2.1.1
35BuildRequires: libtool
36BuildRequires: mono-csharp >= 1.1.13
37BuildRequires: monodoc
38BuildRequires: nautilus-cd-burner-devel >= 2.16.0
39BuildRequires: pkgconfig
40BuildRequires: sqlite3-devel
41Obsoletes: banshee-official-plugins <= 0.11.3
42Requires: gstreamer-cdparanoia >= 0.10.3
43Requires: gstreamer-gnomevfs >= 0.10.3
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
47Banshee is a brand spankin' new audio player based on the GStreamer
48media library and is developed on the Open Source Mono .NET Platform,
49written in C#.
50
51%description -l pl.UTF-8
52Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
53multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
54C#.
55
56%prep
57%setup -q
58
59%build
60%{__intltoolize}
61%{__aclocal} -I build/m4/banshee -I build/m4/shamrock
62%{__libtoolize}
63%{__automake}
64%{__autoconf}
65%configure \
66 --disable-dev-tests \
67 --disable-helix \
68 --enable-ipod \
69 --enable-njb \
70 --disable-vlc \
71 --enable-gstreamer \
72 --enable-avahi \
73 --disable-schemas-install \
74 --disable-docs
75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
85
86rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
87
88%find_lang %{name}
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post
94%update_desktop_database_post
95SCHEMAS="banshee-core.schemas banshee-interface.schemas banshee-plugin-audioscrobbler.schemas banshee-plugin-daap.schemas banshee-plugin-metadatasearcher.schemas banshee-plugin-minimode.schemas banshee-plugin-mmkeys.schemas banshee-plugin-notificationarea.schemas banshee-plugin-podcast.schemas banshee-plugin-radio.schemas banshee-plugin-recommendation.schemas"
96for S in $SCHEMAS; do
97 %gconf_schema_install $S
98done
99%update_icon_cache hicolor
100
101%preun
102SCHEMAS="banshee-core.schemas banshee-interface.schemas banshee-plugin-audioscrobbler.schemas banshee-plugin-daap.schemas banshee-plugin-metadatasearcher.schemas banshee-plugin-minimode.schemas banshee-plugin-mmkeys.schemas banshee-plugin-notificationarea.schemas banshee-plugin-podcast.schemas banshee-plugin-radio.schemas banshee-plugin-recommendation.schemas"
103for S in $SCHEMAS; do
104 %gconf_schema_uninstall $S
105done
106
107%postun
108%update_desktop_database_postun
109%update_icon_cache hicolor
110
111%files -f %{name}.lang
112%defattr(644,root,root,755)
113%doc AUTHORS COPYING ChangeLog NEWS README
114%{_sysconfdir}/gconf/schemas/*.schemas
115%attr(755,root,root) %{_bindir}/banshee
116%{_datadir}/banshee
117%{_pkgconfigdir}/banshee.pc
118%dir %{_libdir}/banshee
119%{_libdir}/banshee/*.dll
120%attr(755,root,root) %{_libdir}/banshee/*.so
121%{_libdir}/banshee/*.exe
122%{_libdir}/banshee/*.mdb
123%{_libdir}/banshee/*.config
124%{_libdir}/banshee/Banshee.Dap
125%{_libdir}/banshee/Banshee.MediaEngine
126%{_libdir}/banshee/Banshee.Plugins
127#%{_libdir}/monodoc/sources/*
128%{_desktopdir}/banshee.desktop
129%{_iconsdir}/hicolor/*/*/*
130%{_datadir}/dbus-1/services/org.gnome.Banshee.service
This page took 0.087271 seconds and 4 git commands to generate.