128 lines
3.5 KiB
RPMSpec
128 lines
3.5 KiB
RPMSpec
Name: agave
|
|
Version: 0.4.1
|
|
Release: 1%{?dist}
|
|
Summary: Generate a variety of colorschemes from a single starting color
|
|
|
|
Group: Applications/Multimedia
|
|
License: GPL
|
|
URL: http://home.gna.org/colorscheme/
|
|
Source0: http://download.gna.org/colorscheme/releases/agave-0.4.1.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
# see http://home.gna.org/colorscheme/downloads.shtml for buildreqs
|
|
BuildRequires: gtkmm24-devel >= 2.6, libgnomeui-devel >= 2.0, desktop-file-utils
|
|
BuildRequires: cppunit-devel, gnome-vfsmm26-devel, boost-devel, gconfmm26-devel
|
|
BuildRequires: gettext
|
|
%if "%{fedora}" >= "5"
|
|
BuildRequires: libSM-devel
|
|
%endif
|
|
|
|
# Renamed from colorscheme
|
|
Provides: colorscheme = %{version}-%{release}
|
|
Obsoletes: colorscheme <= 0.3.91-2
|
|
|
|
|
|
%description
|
|
Have you ever been re-finishing a room in your home and found yourself asking
|
|
"What color would go well with this" ? Or been working on a website and not
|
|
able to find the perfect colorscheme to go with the company logo ?
|
|
Try Agave. Agave is a very simple application for the GNOME desktop that
|
|
allows you to generate a variety of colorschemes from a single starting color.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
desktop-file-install --vendor fedora \
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
--delete-original \
|
|
--add-category X-Fedora \
|
|
--remove-category GNOME \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{find_lang} %{name}
|
|
|
|
%check
|
|
make check || :
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
%postun
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING NEWS AUTHORS ChangeLog TODO
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/icons/hicolor/*/*/*.png
|
|
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
|
|
|
|
|
%changelog
|
|
* Sat Oct 07 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.1-1
|
|
- version 0.4.1
|
|
- drop patch (applied upstream)
|
|
|
|
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-2
|
|
- rebuild
|
|
|
|
* Sun Jul 23 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-1
|
|
- version 0.4.0
|
|
- renamed to Agave
|
|
|
|
* Tue Jun 20 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3.91-2
|
|
- BR: gettext
|
|
|
|
* Tue Apr 11 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3.91-1
|
|
- update to 0.3.91
|
|
- fix build outside the buildsystem (bug 188480)
|
|
|
|
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.3-3
|
|
- rebuild for fc5
|
|
|
|
* Wed Nov 23 2005 Aurelien Bompard <gauret[AT]free.fr> 0.3-2
|
|
- fix build with modular Xorg
|
|
|
|
* Wed Nov 23 2005 Aurelien Bompard <gauret[AT]free.fr> 0.3-1
|
|
- version 0.3
|
|
|
|
* Fri Nov 04 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2.2-1
|
|
- version 0.2.2.2
|
|
|
|
* Sat Oct 22 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2.1-1
|
|
- version 0.2.2.1
|
|
|
|
* Sat Sep 24 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.2-1
|
|
- version 0.2.2
|
|
- drop patch (applied upstream)
|
|
|
|
* Wed Sep 21 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.1-2
|
|
- add patch for missing include
|
|
|
|
* Sun Sep 18 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.1-1
|
|
- initial Fedora package (reviewed in bug 168635)
|