[gnome-guitar/f14/master] Updated package deleted: dead.package new file: gnome-guitar.spec new file: sources
Lakshmi Narasimhan T V
narasim at fedoraproject.org
Wed Jan 19 06:40:45 UTC 2011
commit 0b3ab50a79c8dea9235eb9d72cf9009a15f528e6
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date: Wed Jan 19 12:08:59 2011 +0530
Updated package
deleted: dead.package
new file: gnome-guitar.spec
new file: sources
dead.package | 1 -
gnome-guitar.spec | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 167 insertions(+), 1 deletions(-)
---
diff --git a/gnome-guitar.spec b/gnome-guitar.spec
new file mode 100644
index 0000000..9e7ddde
--- /dev/null
+++ b/gnome-guitar.spec
@@ -0,0 +1,166 @@
+# This mono package produces an empty debuginfo package. Hence we disable it
+%global debug_package %{nil}
+
+Name: gnome-guitar
+Summary: A small suite of applications for the guitarist
+Version: 0.8.1
+Release: 9%{?dist}
+License: GPLv3+
+Group: Applications/Multimedia
+URL: http://gnome-chord.sourceforge.net/
+Source0: http://downloads.sourceforge.net/gnome-chord/%{name}_cs-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+ExcludeArch: sparc64
+
+BuildRequires: desktop-file-utils
+BuildRequires: gnome-sharp-devel
+BuildRequires: gtk-sharp2-devel
+BuildRequires: ImageMagick
+BuildRequires: mono-devel
+
+Requires: mono(gconf-sharp)
+Requires: hicolor-icon-theme
+Requires(pre): GConf2
+Requires(post): GConf2
+Requires(preun): GConf2
+
+
+%description
+Gnome Guitar is chord and scale database for gnome. It can be used as a stand
+alone application (for example you could use it to find how to play a specific
+chord or scale) or it can integrate with other applications to provide chord
+selection and rendering.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: pkgconfig
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Gnome Guitar is chord and scale database for gnome. It can be used as a stand
+alone application (for example you could use it to find how to play a specific
+chord or scale) or it can integrate with other applications to provide chord
+selection and rendering.
+
+This package contains pkg-config files for developing applications that will
+use Gnome Guitar.
+
+%prep
+%setup -q -n %{name}_cs-%{version}
+
+# Fix permission
+chmod 644 gnome-chord/gpl-3.0.txt
+
+# Add pixmaps to the desktop files
+echo "Icon=gnome-chord" >> gnome-chord/gnome-chord.desktop
+echo "Icon=gnome-scale" >> gnome-scale/gnome-scale.desktop
+
+%build
+%configure --disable-schemas-install
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# The provided fonts are non-square. We iron them out with some Magick
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/
+convert gnome-chord/pixmaps/gnome-chord-logo.png -resize 64x64\! \
+ $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/gnome-chord.png
+convert gnome-scale/pixmaps/gnome-scale-logo.png -resize 64x64\! \
+ $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/gnome-scale.png
+
+desktop-file-install \
+--add-category="AudioVideo" \
+--add-category="X-AudioVideoTools" \
+--dir=%{buildroot}%{_datadir}/applications \
+%{buildroot}/%{_datadir}/applications/gnome-chord.desktop
+
+desktop-file-install \
+--add-category="AudioVideo" \
+--add-category="X-AudioVideoTools" \
+--dir=%{buildroot}%{_datadir}/applications \
+%{buildroot}/%{_datadir}/applications/gnome-scale.desktop
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+if [ "$1" -gt 1 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/libgnomeguitar.schemas >/dev/null || :
+fi
+
+%preun
+if [ "$1" -eq 0 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/libgnomeguitar.schemas > /dev/null || :
+fi
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+ %{_sysconfdir}/gconf/schemas/libgnomeguitar.schemas > /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
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%defattr(-,root,root,-)
+%doc gnome-chord/gpl-3.0.txt
+%config %{_sysconfdir}/gconf/schemas/libgnomeguitar.schemas
+%{_bindir}/gnome-chord
+%{_bindir}/gnome-scale
+%{_libdir}/%{name}_cs/
+%{_datadir}/applications/gnome-chord.desktop
+%{_datadir}/applications/gnome-scale.desktop
+%{_datadir}/icons/hicolor/64x64/apps/gnome-chord.png
+%{_datadir}/icons/hicolor/64x64/apps/gnome-scale.png
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/libgnomeguitar.pc
+%{_libdir}/pkgconfig/libgnomeguitarui.pc
+
+%changelog
+* Tue Jan 11 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.8.1-9
+- Added hicolor-icon-theme in Requires
+
+* Tue Dec 14 2010 Lakshmi Narasimhan <lakshminaras2002 at gmail.com> - 0.8.1-8
+- Remove excludearch for ppc64
+- Change define to global, to be consistent with packaging guidelines at http://fedoraproject.org/wiki/Packaging/Debuginfo
+
+* Mon Oct 26 2009 Dennis Gilmore <Dennis at ausil.us> - 0.8.1-7
+- ExcludeArch sparc64
+
+* Wed Aug 05 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.8.1-6
+- Update .desktop files
+- Add missing Requires
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri May 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.8.1-4
+- Rebuild
+
+* Fri May 29 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.8.1-3
+- Mono is available in F-11. Remove the ExcludeArch: ppc64
+
+* Mon Mar 09 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.8.1-2
+- Add ExcludeArch:ppc64 since mono is not available in this architecture.
+- devel subpackage requires pkgconfig
+
+* Sat Mar 07 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.8.1-1
+- Initial build
diff --git a/sources b/sources
new file mode 100644
index 0000000..013ef78
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9bb146c8667fe503739ae7ff8b4d4213 gnome-guitar_cs-0.8.1.tar.gz
More information about the scm-commits
mailing list