source: projects/specs/trunk/b/banshee/banshee-vl.spec @ 9480

Revision 9480, 5.4 KB checked in by inagaki, 9 years ago (diff)

2015-04-01 Ryoichi INAGAKI <ryo1@…>

  • banshee, gdata-sharp, gkeyfile-sharp, gudev-sharp: rebuilt
  • boo: fixed spec
  • taglib-sharp: updated


Line 
1Summary:        A multimedia management and playback application for GNOME
2Summary(ja):    GNOME 向けのマルチメディア管理・再生アプリケーション
3Name:           banshee
4Version:        2.6.2
5Release:        3%{?_dist_release}
6
7License:        MIT/X11
8Group:          Applications/Multimedia
9URL:            http://banshee.fm/
10
11Source0:        %{name}-%{version}.tar.xz
12
13# Vine Patch
14# ad-hoc patch to build with dbus-sharp 0.8.0
15Patch100:       banshee-2.6.2-dbussharp2.patch
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19BuildRequires:  mono-devel
20BuildRequires:  mono-addins-devel
21BuildRequires:  mono-zeroconf-devel
22BuildRequires:  boo-devel
23BuildRequires:  gdata-sharp-devel
24BuildRequires:  taglib-sharp-devel
25BuildRequires:  libgpod-sharp-devel
26BuildRequires:  gudev-sharp-devel
27BuildRequires:  gkeyfile-sharp-devel
28BuildRequires:  gconf-sharp2
29BuildRequires:  gio-sharp-devel
30BuildRequires:  gtk-sharp-beans-devel
31BuildRequires:  GConf2-devel
32BuildRequires:  gstreamer-devel
33BuildRequires:  gstreamer-plugins-base-devel
34BuildRequires:  gtk2-devel
35BuildRequires:  sqlite3-devel
36BuildRequires:  dbus-sharp-devel >= 0.8.0
37BuildRequires:  dbus-sharp-glib-devel >= 0.6.0
38BuildRequires:  WebKit-gtk-devel
39BuildRequires:  libmtp-devel
40BuildRequires:  libudev-devel
41BuildRequires:  brasero-devel
42BuildRequires:  avahi-devel
43BuildRequires:  gnome-doc-utils
44
45Requires(post,postun):  desktop-file-utils
46Requires(post,postun):  shared-mime-info
47
48Requires:       libgpod-sharp
49Requires:       gvfs-afc
50Requires:       media-player-info
51
52Vendor:         Project Vine
53Distribution:   Vine Linux
54Packager:       Takemikaduchi
55
56
57%description
58Banshee is a multimedia management and playback application for GNOME, with
59support for OS X and Windows as well.
60
61Play your music and videos. Stay entertained and up to date with podcasts
62and video podcasts.  Sync your Android, iPod, and other devices. We think
63you'll love the new Banshee!
64
65
66%package        devel
67Summary:        Development tools for banshee
68Summary(ja):    banshee の開発環境
69Group:          Development/Libraries
70Requires:       %{name} = %{version}-%{release}
71Requires:       pkgconfig
72
73%description    devel
74Header files and libraries for building a extension library for the
75banshee.
76
77
78%prep
79%setup -q
80%patch100 -p1 -b .dbussharp2
81
82%build
83# use mcs instead of gmcs
84export MCS=%{_bindir}/mcs
85export GMCS=%{_bindir}/mcs
86
87#(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
88%configure \
89        --disable-static
90
91%{__make} %{?_smp_mflags}
92
93
94%install
95%{__rm} -rf ${RPM_BUILD_ROOT}
96
97make install DESTDIR=${RPM_BUILD_ROOT}
98
99find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
100find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
101
102%find_lang %{name}
103
104
105%clean
106%{__rm} -rf ${RPM_BUILD_ROOT}
107
108
109%post
110touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
111gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
112update-desktop-database %{_datadir}/applications &> /dev/null || :
113update-mime-database %{_datadir}/mime &> /dev/null || :
114
115%postun
116if [ $1 -eq 0 ]; then
117    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
118    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
119fi
120update-desktop-database %{_datadir}/applications &> /dev/null || :
121update-mime-database %{_datadir}/mime &> /dev/null || :
122
123
124
125%files -f %{name}.lang
126%defattr(-,root,root,-)
127%doc COPYING ChangeLog NEWS README
128%{_bindir}/bamz
129%{_bindir}/banshee
130%{_bindir}/muinshee
131%{_prefix}/lib/monodoc/sources/banshee-docs.*
132%{_prefix}/lib/monodoc/sources/hyena-docs.*
133%{_libdir}/%{name}
134%{_datadir}/appdata/%{name}.appdata.xml
135%{_datadir}/applications/banshee-audiocd.desktop
136%{_datadir}/applications/banshee-media-player.desktop
137%{_datadir}/applications/banshee.desktop
138%{_datadir}/%{name}/audio-profiles/*.xml
139%{_datadir}/%{name}/icons/hicolor/*/*/*
140%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
141%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
142%{_datadir}/gnome/help/%{name}
143%{_datadir}/icons/hicolor/*/apps/media-player-banshee.png
144%{_datadir}/mime/packages/banshee-amz.xml
145%{_datadir}/mime/packages/banshee-emx.xml
146
147%files devel
148%defattr(-,root,root,-)
149%{_libdir}/pkgconfig/banshee-collection-indexer.pc
150%{_libdir}/pkgconfig/banshee-core.pc
151%{_libdir}/pkgconfig/banshee-hyena-data-sqlite.pc
152%{_libdir}/pkgconfig/banshee-hyena-gui.pc
153%{_libdir}/pkgconfig/banshee-hyena.pc
154%{_libdir}/pkgconfig/banshee-lastfm-gui.pc
155%{_libdir}/pkgconfig/banshee-lastfm.pc
156%{_libdir}/pkgconfig/banshee-mono-media.pc
157%{_libdir}/pkgconfig/banshee-musicbrainz.pc
158%{_libdir}/pkgconfig/banshee-nowplaying.pc
159%{_libdir}/pkgconfig/banshee-services.pc
160%{_libdir}/pkgconfig/banshee-thickclient.pc
161%{_libdir}/pkgconfig/banshee-webbrowser.pc
162
163
164%changelog
165* Wed Apr  1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.2-3
166- rebuilt with mono 3.12.1 and mono-addins 1.2
167
168* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.2-2
169- rebuilt with dbus-sharp 0.8.1 and dbus-shar-glib 0.6.0
170- added Patch100
171
172* Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.2-1
173- new upstream release
174
175* Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-2
176- rebuild with VineSeed environment
177
178* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
179- new upstream release
180
181* Tue Oct 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
182- change BuildRequires: mono-addins-devel instead of mono-addins
183
184* Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
185- new upstream release
186- remove Patch0 (banshee-2.4.1-missing_cast.patch)
187
188* Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
189- initial build for Vine Linux
190
Note: See TracBrowser for help on using the repository browser.