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