source: projects/specs/trunk/g/gnome-music/gnome-music-vl.spec @ 8447

Revision 8447, 3.0 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME-3.12.2

Line 
1%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
2
3Summary:        Music applications for GNOME
4Summary(ja):    GNOME 用音楽アプリケーション
5Name:           gnome-music
6Version:        3.12.2.1
7Release:        1%{?_dist_release}
8License:        GPLv2+
9Group:          User Interface/Deskops
10URL:            https://wiki.gnome.org/Apps/Music
11
12Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gtk3-devel
17BuildRequires:  python3-devel
18BuildRequires:  grilo-devel
19BuildRequires:  yelp-tools
20
21
22Requires(postun,posttrans):     desktop-file-utils
23Requires: python3-pygobject
24Requires: dbus-python3
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28Packager:       Takemikaduchi
29
30
31%description
32Music application designed for GNOME 3
33
34%description -l ja
35gnome-music は GNOME3 向けに作られた音楽アプリケーションです。
36
37
38%package        devel
39Summary:        Development tools for %{name}
40Summary(ja):    %{name} の開発環境
41Group:          Development/Libraries
42Requires:       %{name} = %{version}-%{release}
43Requires:       pkgconfig
44
45%description    devel
46%{summary}
47
48
49%prep
50%setup -q
51
52%build
53%configure --disable-static
54
55make %{?_smp_mflags}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60%{__make} install DESTDIR=${RPM_BUILD_ROOT}
61
62find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
63
64rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
65
66%find_lang %{name} --with-gnome
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post
72touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
73
74%postun
75if [ $1 -eq 0 ]; then
76  touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
77  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
78  update-desktop-database -q &> /dev/null ||:
79  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
80fi
81
82%posttrans
83gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
84update-desktop-database -q &> /dev/null ||:
85glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
86
87
88%files -f %{name}.lang
89%defattr(-,root,root,-)
90%doc COPYING README NEWS
91%{_bindir}/%{name}
92%{python3_sitelib}/gnomemusic
93%{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
94%{_libdir}/%{name}/libgd.so
95%{_datadir}/appdata/%{name}.appdata.xml
96%{_datadir}/applications/%{name}.desktop
97%{_datadir}/glib-2.0/schemas/org.gnome.Music.gschema.xml
98%{_datadir}/%{name}/gnome-music.gresource
99%{_datadir}/icons/hicolor/*/*/*
100
101%files devel
102%defattr(-,root,root,-)
103%{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
104
105
106
107%changelog
108* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2.1-1
109- new upstream release
110
111* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
112- new upstream release
113
114* Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
115- new upstream release
116- add BuildRequires: yelp-tools
117- add Requires: python3-pygobject, dbus-python3
118
119* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
120- rebuild with VineSeed environment
121
122* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
123- initial build
124
Note: See TracBrowser for help on using the repository browser.