[pragha] Initial import of pragha (#721043)

Christoph Wickert cwickert at fedoraproject.org
Sun Jul 31 08:21:16 UTC 2011


commit 6e491d28a583a1c2fcbaf22071e333fa47db5f75
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Sun Jul 31 10:20:55 2011 +0200

    Initial import of pragha (#721043)

 .gitignore                    |    1 +
 pragha-0.97.0-cflags-O3.patch |   36 +++++++++
 pragha.spec                   |  170 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 4 files changed, 208 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ab22fc6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pragha-0.97.0.tar.bz2
diff --git a/pragha-0.97.0-cflags-O3.patch b/pragha-0.97.0-cflags-O3.patch
new file mode 100644
index 0000000..01826d4
--- /dev/null
+++ b/pragha-0.97.0-cflags-O3.patch
@@ -0,0 +1,36 @@
+diff -dur pragha-0.97.0.orig/configure pragha-0.97.0/configure
+--- pragha-0.97.0.orig/configure	2011-07-11 00:47:23.000000000 +0200
++++ pragha-0.97.0/configure	2011-07-30 21:18:31.280122074 +0200
+@@ -2854,13 +2854,13 @@
+ 	   yes)	debug=true ;
+ 		CFLAGS="$CFLAGS -DDEBUG -D_DEBUG -g -ggdb -O0 -fno-inline -fno-inline-functions" ;;
+ 	    no)	debug=false ;
+-		CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror" ;;
++		CFLAGS="$CFLAGS -DNDEBUG -Werror" ;;
+ 	     *)	as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
+ 	esac
+ 
+ else
+   	debug=false
+-	CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror"
++	CFLAGS="$CFLAGS -DNDEBUG -Werror"
+ 
+ fi
+ 
+diff -dur pragha-0.97.0.orig/configure.ac pragha-0.97.0/configure.ac
+--- pragha-0.97.0.orig/configure.ac	2011-07-03 23:10:54.000000000 +0200
++++ pragha-0.97.0/configure.ac	2011-07-30 21:18:55.708262113 +0200
+@@ -29,11 +29,11 @@
+ 	   yes)	debug=true ;
+ 		CFLAGS="$CFLAGS -DDEBUG -D_DEBUG -g -ggdb -O0 -fno-inline -fno-inline-functions" ;;
+ 	    no)	debug=false ;
+-		CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror" ;;
++		CFLAGS="$CFLAGS -DNDEBUG -Werror" ;;
+ 	     *)	AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
+ 	esac
+ ],[	debug=false
+-	CFLAGS="$CFLAGS -DNDEBUG -O3 -Werror"
++	CFLAGS="$CFLAGS -DNDEBUG -Werror"
+ ])
+ AC_SUBST(CFLAGS)
+ 
diff --git a/pragha.spec b/pragha.spec
new file mode 100644
index 0000000..23c8b0f
--- /dev/null
+++ b/pragha.spec
@@ -0,0 +1,170 @@
+Name:           pragha
+Version:        0.97.0
+Release:        2%{?dist}
+Summary:        Lightweight GTK+ music manager
+
+Group:          Applications/Multimedia
+License:        GPLv3+
+URL:            http://pragha.wikispaces.com/
+Source0:        http://dissonance.googlecode.com/files/%{name}-%{version}.tar.bz2
+Patch0:          pragha-0.97.0-cflags-O3.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  alsa-lib-devel >= 1.0.15
+BuildRequires:  dbus-glib-devel >= 0.74
+BuildRequires:  gtk2-devel >= 2.16.0
+BuildRequires:  flac-devel >= 1.2.1
+BuildRequires:  keybinder-devel >= 0.2.0
+BuildRequires:  gstreamer-devel >= 0.10
+BuildRequires:  gstreamer-plugins-base-devel >= 0.10
+BuildRequires:  libcddb-devel >= 1.2.1
+BuildRequires:  libcdio-devel >= 0.78
+BuildRequires:  libcurl-devel >= 7.18
+# libclastfm is not yet in Fedora .Get it at http://liblastfm.sourceforge.net/
+# unfortunately it doesn't build with latest libcurl
+#BuildRequires:  liblastfm-devel >= 0.4
+BuildRequires:  libnotify-devel >= 0.4.4
+BuildRequires:  sqlite-devel >= 3.4
+BuildRequires:  taglib-devel >= 1.7
+BuildRequires:  desktop-file-utils
+BuildRequires:  gettext
+Requires:       gstreamer-plugins-base
+
+%description
+Pragha is is a lightweight GTK+ music manager that aims to be fast, bloat-free,
+and light on memory consumption. It is written completely in C and GTK+.
+
+Pragha is a fork of Consonance Music Manager, discontinued by the original
+author.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b -O3
+
+%build
+%configure
+make %{?_smp_mflags} V=1
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+desktop-file-install                                       \
+  --delete-original                                        \
+  --add-category=Audio                                     \
+  --dir=%{buildroot}%{_datadir}/applications          \
+  %{buildroot}%{_datadir}/applications/%{name}.desktop
+%find_lang %{name}
+# remove duplicate docs
+rm -rf %{buildroot}%{_datadir}/%{name}/doc
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+update-desktop-database &> /dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+update-desktop-database &> /dev/null || :
+
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+# FIXME add AUTHORS and README if not empty
+%doc ChangeLog COPYING FAQ NEWS
+%{_bindir}/pragha
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}/
+%{_datadir}/%{name}/
+%{_mandir}/man1/pragha.1.*
+
+
+%changelog
+* Sat Jul 30 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.97.0-2
+- Don't compile with -O3
+
+* Wed Jul 13 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.97.0-1
+- Update to 0.97.0: This version is gstreamer-based. It no longer requires
+  libmad, libmodplug, libsndfile or libvorbis but gstreamer and gstreamer-
+  plugins-base
+
+* Tue Jul 12 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.8-2
+- Build with keybinder support
+
+* Tue Jul 12 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.8-1
+- Update to 0.8.8
+
+* Thu Mar 17 2011 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.6-1
+- Update to 0.8.6
+- Drop libnotify-patch, no longer required
+
+* Thu Dec 09 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.4-1
+- Update to 0.8.4
+
+* Sun Oct 03 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.2-1
+- Update to 0.8.2
+
+* Sat Aug 21 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.0.2-3
+- rebuilt
+
+* Mon Aug 02 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0.2-2
+- Fix desktop file
+
+* Fri Jul 30 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0.2-1
+- Update to 0.8.0.2
+- Drop de.po patch, included upstream
+
+* Fri Jul 30 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0.1-1
+- Update to 0.8.0.1
+- Add COPYING and NEWS to docs
+
+* Thu Jul 29 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.8.0-1
+- Update to 0.8.0
+
+* Fri Jun 25 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.7.1-1
+- Update to 0.7.7.1
+
+* Fri Jun 25 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.7-1
+- Update to 0.7.7
+
+* Sat Jun 19 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.6-1
+- Update to 0.7.6
+- Remove upstreamed use-software-mixer.patch
+
+* Fri Apr 22 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.4-1
+- Update to 0.7.4
+
+* Mon Mar 22 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.3-2
+- Use software mixer by default to cope with pulseaudio
+- Remove executable bits from docs
+
+* Tue Mar 16 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.3-1
+- Update to 0.7.3
+
+* Sat Feb 20 2010 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.2-1
+- Update to 0.7.2
+
+* Wed Oct 28 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.1-1
+- Upadte to 0.7.1
+
+* Sat Oct 03 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.7.0-1
+- Upadte to 0.7.0
+
+* Sun Aug 09 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.6.3-1
+- Upadte to 0.6.3
+
+* Mon Jul 20 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.6.2.2-1
+- Initial Fedora package
diff --git a/sources b/sources
index e69de29..20cec48 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f3146b9f05305682e9465cbcbcc3fd33  pragha-0.97.0.tar.bz2


More information about the scm-commits mailing list