[2160] | 1 | Name: pragha |
---|
[4693] | 2 | Version: 0.8.9 |
---|
[2160] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Lightweight GTK+ music manager |
---|
| 5 | Summary(ja): 軽量 GTK+ 楽曲管理アプリケーション |
---|
| 6 | |
---|
| 7 | Group: Applications/Multimedia |
---|
| 8 | License: GPLv3+ |
---|
| 9 | URL: http://pragha.wikispaces.com/ |
---|
| 10 | Source0: http://dissonance.googlecode.com/files/%{name}-%{version}.tar.bz2 |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: alsa-lib-devel >= 1.0.15 |
---|
| 14 | BuildRequires: dbus-glib-devel >= 0.74 |
---|
| 15 | BuildRequires: gtk2-devel >= 2.16.0 |
---|
| 16 | BuildRequires: flac-devel >= 1.2.1 |
---|
[4693] | 17 | %if %{?_dist_release} != "vl5" |
---|
| 18 | BuildRequires: keybinder-devel >= 0.2.0 |
---|
| 19 | %endif |
---|
[2160] | 20 | BuildRequires: libao-devel >= 0.8.8 |
---|
| 21 | BuildRequires: libcddb-devel >= 1.2.1 |
---|
| 22 | BuildRequires: libcdio-devel >= 0.78 |
---|
| 23 | BuildRequires: curl-devel >= 7.18 |
---|
| 24 | #BuildRequires: libmad-devel >= 0.15 |
---|
| 25 | BuildRequires: libmodplug-devel |
---|
| 26 | BuildRequires: libnotify-devel >= 0.4.4 |
---|
| 27 | BuildRequires: libsndfile-devel >= 1.0.17 |
---|
| 28 | BuildRequires: libvorbis-devel >= 1.2.0 |
---|
| 29 | BuildRequires: sqlite3-devel >= 3.4 |
---|
| 30 | BuildRequires: taglib-devel >= 1.4 |
---|
| 31 | BuildRequires: desktop-file-utils |
---|
| 32 | BuildRequires: gettext |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | Pragha is a lightweight GTK+ music manager that aims to be fast, bloat-free, |
---|
| 36 | and light on memory consumption. It is written completely in C and GTK+. |
---|
| 37 | |
---|
| 38 | Pragha is a fork of Consonance Music Manager, discontinued by the original |
---|
| 39 | author. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | # Fix spurious executable permissions |
---|
| 45 | %__chmod 0644 ChangeLog src/*.{c,h} |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --disable-static |
---|
| 49 | %__make %{?_smp_mflags} V=1 |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 54 | %__make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 55 | desktop-file-install \ |
---|
| 56 | --delete-original \ |
---|
| 57 | --add-category=Audio \ |
---|
| 58 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
| 59 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
| 60 | %find_lang %{name} |
---|
| 61 | # remove duplicate docs |
---|
| 62 | %__rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/doc |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %post |
---|
| 69 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 70 | update-desktop-database &> /dev/null || : |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %postun |
---|
| 74 | if [ $1 -eq 0 ] ; then |
---|
| 75 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 76 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 77 | fi |
---|
| 78 | update-desktop-database &> /dev/null || : |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %posttrans |
---|
| 82 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %files -f %{name}.lang |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | # FIXME add AUTHORS and README if not empty |
---|
| 88 | %doc ChangeLog COPYING FAQ NEWS |
---|
| 89 | %{_bindir}/pragha |
---|
| 90 | %{_datadir}/applications/%{name}.desktop |
---|
| 91 | %{_datadir}/icons/hicolor/*x*/apps/%{name}.png |
---|
| 92 | %{_datadir}/pixmaps/%{name}/ |
---|
| 93 | %{_datadir}/%{name}/ |
---|
| 94 | %{_mandir}/man1/pragha.1.* |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %changelog |
---|
[4693] | 98 | * Tue Aug 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.9-1 |
---|
| 99 | - new upstream release |
---|
| 100 | - added BuildRequires: keybinder-devel >= 0.2.0 |
---|
| 101 | |
---|
| 102 | * Sun Feb 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.5-2 |
---|
| 103 | - changed release to sync with self-build-pragha-vl.spec |
---|
| 104 | |
---|
[2779] | 105 | * Sat Feb 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.5-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[2160] | 108 | * Fri Oct 15 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.2-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
| 111 | * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.1-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
| 114 | * Fri Sep 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.8.0.2-1 |
---|
| 115 | - initial build |
---|
| 116 | |
---|
| 117 | * Sat Aug 21 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.0.2-3 |
---|
| 118 | - rebuilt |
---|
| 119 | |
---|
| 120 | * Mon Aug 02 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.2-2 |
---|
| 121 | - Fix desktop file |
---|
| 122 | |
---|
| 123 | * Fri Jul 30 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.2-1 |
---|
| 124 | - Update to 0.8.0.2 |
---|
| 125 | - Drop de.po patch, included upstream |
---|
| 126 | |
---|
| 127 | * Fri Jul 30 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0.1-1 |
---|
| 128 | - Update to 0.8.0.1 |
---|
| 129 | - Add COPYING and NEWS to docs |
---|
| 130 | |
---|
| 131 | * Thu Jul 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.0-1 |
---|
| 132 | - Update to 0.8.0 |
---|
| 133 | |
---|
| 134 | * Fri Jun 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.7.1-1 |
---|
| 135 | - Update to 0.7.7.1 |
---|
| 136 | |
---|
| 137 | * Fri Jun 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.7-1 |
---|
| 138 | - Update to 0.7.7 |
---|
| 139 | |
---|
| 140 | * Sat Jun 19 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.6-1 |
---|
| 141 | - Update to 0.7.6 |
---|
| 142 | - Remove upstreamed use-software-mixer.patch |
---|
| 143 | |
---|
| 144 | * Fri Apr 22 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.4-1 |
---|
| 145 | - Update to 0.7.4 |
---|
| 146 | |
---|
| 147 | * Mon Mar 22 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-2 |
---|
| 148 | - Use software mixer by default to cope with pulseaudio |
---|
| 149 | - Remove executable bits from docs |
---|
| 150 | |
---|
| 151 | * Tue Mar 16 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-1 |
---|
| 152 | - Update to 0.7.3 |
---|
| 153 | |
---|
| 154 | * Sat Feb 20 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-1 |
---|
| 155 | - Update to 0.7.2 |
---|
| 156 | |
---|
| 157 | * Wed Oct 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.1-1 |
---|
| 158 | - Upadte to 0.7.1 |
---|
| 159 | |
---|
| 160 | * Sat Oct 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-1 |
---|
| 161 | - Upadte to 0.7.0 |
---|
| 162 | |
---|
| 163 | * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.3-1 |
---|
| 164 | - Upadte to 0.6.3 |
---|
| 165 | |
---|
| 166 | * Mon Jul 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2.2-1 |
---|
| 167 | - Initial Fedora package |
---|