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

Revision 9114, 3.4 KB checked in by Takemikaduchi, 10 years ago (diff)

fix typo

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