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