|
|
c0aa140 |
Name: agave
|
|
Vivek Shah |
61fc743 |
Version: 0.4.4
|
|
Vivek Shah |
61fc743 |
Release: 1%{?dist}
|
|
|
c0aa140 |
Summary: Generate a variety of colorschemes from a single starting color
|
|
|
c0aa140 |
|
|
|
c0aa140 |
Group: Applications/Multimedia
|
|
|
2e6d6fa |
License: GPLv2+
|
|
|
c0aa140 |
URL: http://home.gna.org/colorscheme/
|
|
|
0f9007c |
Source0: http://download.gna.org/colorscheme/releases/agave-%{version}.tar.bz2
|
|
|
df1c1f5 |
Patch1: agave-gcc43.patch
|
|
|
c0aa140 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
c0aa140 |
|
|
|
c0aa140 |
# see http://home.gna.org/colorscheme/downloads.shtml for buildreqs
|
|
|
c0aa140 |
BuildRequires: gtkmm24-devel >= 2.6, libgnomeui-devel >= 2.0, desktop-file-utils
|
|
|
c0aa140 |
BuildRequires: cppunit-devel, gnome-vfsmm26-devel, boost-devel, gconfmm26-devel
|
|
|
0f9007c |
BuildRequires: gettext, gnome-doc-utils, libglademm24-devel
|
|
|
0f9007c |
BuildRequires: scrollkeeper
|
|
|
fce6830 |
%if 0%{?fedora} >= 5
|
|
|
c0aa140 |
BuildRequires: libSM-devel
|
|
|
c0aa140 |
%endif
|
|
|
c0aa140 |
|
|
|
c0aa140 |
# Renamed from colorscheme
|
|
|
c0aa140 |
Provides: colorscheme = %{version}-%{release}
|
|
|
c0aa140 |
Obsoletes: colorscheme <= 0.3.91-2
|
|
|
c0aa140 |
|
|
|
0f9007c |
Requires(pre): GConf2
|
|
|
0f9007c |
Requires(post): scrollkeeper, GConf2
|
|
|
0f9007c |
Requires(preun): GConf2
|
|
|
0f9007c |
Requires(postun): scrollkeeper
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%description
|
|
|
c0aa140 |
Have you ever been re-finishing a room in your home and found yourself asking
|
|
|
c0aa140 |
"What color would go well with this" ? Or been working on a website and not
|
|
|
c0aa140 |
able to find the perfect colorscheme to go with the company logo ?
|
|
|
4a85f06 |
Try Agave. Agave is a very simple application for the GNOME desktop that
|
|
|
4a85f06 |
allows you to generate a variety of colorschemes from a single starting color.
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%prep
|
|
|
c0aa140 |
%setup -q
|
|
|
df1c1f5 |
%patch1 -p1 -b .gcc43
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%build
|
|
|
0f9007c |
%configure --disable-schemas-install --disable-scrollkeeper
|
|
|
c0aa140 |
make %{?_smp_mflags}
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%install
|
|
|
c0aa140 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0f9007c |
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
c0aa140 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
c0aa140 |
|
|
|
c0aa140 |
desktop-file-install --vendor fedora \
|
|
|
c0aa140 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
c0aa140 |
--delete-original \
|
|
|
c0aa140 |
--remove-category GNOME \
|
|
|
c0aa140 |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%{find_lang} %{name}
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%check
|
|
|
c0aa140 |
make check || :
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%clean
|
|
|
c0aa140 |
rm -rf $RPM_BUILD_ROOT
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
0f9007c |
%pre
|
|
|
0f9007c |
if [ "$1" -gt 1 ]; then
|
|
|
0f9007c |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
0f9007c |
gconftool-2 --makefile-uninstall-rule \
|
|
|
8f51bac |
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
|
|
|
0f9007c |
killall -HUP gconfd-2 >/dev/null 2>&1 || :
|
|
|
0f9007c |
fi
|
|
|
0f9007c |
|
|
|
4a85f06 |
%post
|
|
|
0f9007c |
# Icons
|
|
|
4a85f06 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
4a85f06 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
4a85f06 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
4a85f06 |
fi
|
|
|
0f9007c |
# Scrollkeeper
|
|
|
0f9007c |
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
|
|
|
0f9007c |
# GConf
|
|
|
0f9007c |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
0f9007c |
gconftool-2 --makefile-install-rule \
|
|
|
8f51bac |
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
|
|
|
0f9007c |
killall -HUP gconfd-2 >/dev/null 2>&1 || :
|
|
|
4a85f06 |
|
|
|
4a85f06 |
%postun
|
|
|
0f9007c |
# Icons
|
|
|
4a85f06 |
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
4a85f06 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
4a85f06 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
4a85f06 |
fi
|
|
|
0f9007c |
# Scrollkeeper
|
|
|
0f9007c |
scrollkeeper-update -q || :
|
|
Vivek Shah |
61fc743 |
|
|
Vivek Shah |
61fc743 |
%preun
|
|
|
0f9007c |
# GConf
|
|
|
0f9007c |
if [ "$1" -eq 0 ]; then
|
|
|
0f9007c |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
0f9007c |
gconftool-2 --makefile-uninstall-rule \
|
|
|
8f51bac |
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
|
|
|
0f9007c |
killall -HUP gconfd-2 >/dev/null 2>&1 || :
|
|
|
0f9007c |
fi
|
|
|
4a85f06 |
|
|
|
4a85f06 |
|
|
|
c0aa140 |
%files -f %{name}.lang
|
|
|
c0aa140 |
%defattr(-,root,root,-)
|
|
|
c0aa140 |
%doc README COPYING NEWS AUTHORS ChangeLog TODO
|
|
|
c0aa140 |
%{_bindir}/%{name}
|
|
|
c0aa140 |
%{_datadir}/applications/*.desktop
|
|
|
c0aa140 |
%{_datadir}/%{name}
|
|
|
c0aa140 |
%{_datadir}/icons/hicolor/*/*/*.png
|
|
|
c0aa140 |
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
|
|
0f9007c |
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
|
0f9007c |
%{_datadir}/gnome/help/%{name}
|
|
|
0f9007c |
%{_datadir}/omf/%{name}
|
|
|
0f9007c |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
|
|
|
c0aa140 |
%changelog
|
|
Vivek Shah |
61fc743 |
* Wed Nov 18 2009 Vivek Shah <boni.vivek at gmail.com> - 0.4.4-1
|
|
Vivek Shah |
61fc743 |
- Updated to new upstream version
|
|
Vivek Shah |
61fc743 |
- Fixed gconf preun scriptlet
|
|
Vivek Shah |
61fc743 |
|
|
Vivek Shah |
61fc743 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-10
|
|
Vivek Shah |
61fc743 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Vivek Shah |
61fc743 |
|
|
|
03bb8d9 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-9
|
|
|
03bb8d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
03bb8d9 |
|
|
|
b5bf1c3 |
* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.2-8
|
|
|
fce6830 |
- fix conditional comparison
|
|
|
fce6830 |
|
|
|
df1c1f5 |
* Thu Mar 27 2008 Christopher Aillon <caillon@redhat.com> - 0.4.2-7
|
|
|
df1c1f5 |
- Actually build against GCC 4.3
|
|
|
df1c1f5 |
|
|
|
9e2d3d4 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.2-6
|
|
|
9e2d3d4 |
- Autorebuild for GCC 4.3
|
|
|
9e2d3d4 |
|
|
|
8423411 |
* Sat Aug 25 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.2-5
|
|
|
8423411 |
- fix License tag
|
|
|
8423411 |
- rebuild for BuildID
|
|
|
8423411 |
|
|
|
4a402cd |
* Sun Jun 10 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.2-4
|
|
|
4a402cd |
- reverted yelp requirement (should be optional)
|
|
|
4a402cd |
|
|
|
448fba9 |
* Sat Jun 09 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.2-3
|
|
|
448fba9 |
- Require yelp for the help system (#243375)
|
|
|
448fba9 |
|
|
|
8f51bac |
* Sun Mar 04 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.2-2
|
|
|
8f51bac |
- fix abusive cut-n-paste
|
|
|
8f51bac |
|
|
|
0f9007c |
* Sat Mar 03 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.2-1
|
|
|
0f9007c |
- version 0.4.2
|
|
|
0f9007c |
|
|
|
34d80b5 |
* Sat Oct 07 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.1-1
|
|
|
34d80b5 |
- version 0.4.1
|
|
|
34d80b5 |
- drop patch (applied upstream)
|
|
|
34d80b5 |
|
|
|
cc4aa3f |
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-2
|
|
|
cc4aa3f |
- rebuild
|
|
|
cc4aa3f |
|
|
|
c0aa140 |
* Sun Jul 23 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-1
|
|
|
c0aa140 |
- version 0.4.0
|
|
|
c0aa140 |
- renamed to Agave
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Tue Jun 20 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3.91-2
|
|
|
c0aa140 |
- BR: gettext
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Tue Apr 11 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3.91-1
|
|
|
c0aa140 |
- update to 0.3.91
|
|
|
c0aa140 |
- fix build outside the buildsystem (bug 188480)
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3-3
|
|
|
c0aa140 |
- rebuild for fc5
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Wed Nov 23 2005 Aurelien Bompard <gauret[AT]free.fr> 0.3-2
|
|
|
c0aa140 |
- fix build with modular Xorg
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Wed Nov 23 2005 Aurelien Bompard <gauret[AT]free.fr> 0.3-1
|
|
|
c0aa140 |
- version 0.3
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Fri Nov 04 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2.2-1
|
|
|
c0aa140 |
- version 0.2.2.2
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Sat Oct 22 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2.1-1
|
|
|
c0aa140 |
- version 0.2.2.1
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Sat Sep 24 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2-1
|
|
|
c0aa140 |
- version 0.2.2
|
|
|
c0aa140 |
- drop patch (applied upstream)
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Wed Sep 21 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.1-2
|
|
|
c0aa140 |
- add patch for missing include
|
|
|
c0aa140 |
|
|
|
c0aa140 |
* Sun Sep 18 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.1-1
|
|
|
c0aa140 |
- initial Fedora package (reviewed in bug 168635)
|