]> git.pld-linux.org Git - packages/agave.git/blobdiff - agave.spec
- fixed previous commit
[packages/agave.git] / agave.spec
index 69e6ff5230f064cf5d8aa5629bb40a616b537bfe..6045d30c5a9369650fde7b34b83692598467747c 100644 (file)
@@ -1,15 +1,23 @@
-#
 Summary:       Color scheme generator for GNOME
+Summary(pl.UTF-8):     Generator schematów kolorów dla GNOME
 Name:          agave
-Version:       0.4.0
-Release:       0.1
+Version:       0.4.3
+Release:       1
 License:       GPL
-Group:         Applications
+Group:         X11/Applications
 Source0:       http://download.gna.org/colorscheme/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 88a4f89acb62eab906b26803a760d7de
+# Source0-md5: 8ce75dd2f508a0eef544a2c98dc93e39
+Patch0:                %{name}-locale.patch
 URL:           http://home.gna.org/colorscheme/
 BuildRequires: gconfmm-devel >= 2.12.0
 BuildRequires: gtkmm-devel >= 2.6.0
+BuildRequires: scrollkeeper
+BuildRequires: gnome-doc-utils
+BuildRequires: libglademm-devel
+BuildRequires: libgnomeui-devel
+BuildRequires: boost-devel
+Requires(post,preun):  GConf2
+Requires(post,postun): scrollkeeper
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,11 +30,24 @@ that allows you to generate a variety of colorschemes from a single
 starting color. It is free software licensed under the open-source GPL
 License.
 
+%description -l pl.UTF-8
+Czy wykańczałeś kiedyś pokój w domu i zacząłeś zastanawiać się, jaki
+kolor pasowałby najbardziej? Albo pracowałeś nad nową stroną nie mogąc
+znaleźć pasujących kolorów?
+
+Wypróbuj Agave. Jest to bardzo prosta aplikacja dla środowiska GNOME
+pozwalająca generować różnorodne schematy kolorów poczynając od
+jednego koloru początkowego. Jest to program wolnodostępny na licencji
+GPL.
+
 %prep
 %setup -q
+%patch0 -p1
+mv po/es{_ES,}.po
 
 %build
-%configure
+%configure \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -35,25 +56,36 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang agave
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%scrollkeeper_update_post
+%gconf_schema_install %{name}.schemas
+
+%preun
+%gconf_schema_uninstall %{name}.schemas
+
+%postun
+%scrollkeeper_update_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README AUTHORS NEWS TODO ChangeLog
 %attr(755,root,root) %{_bindir}/agave
-%{_datadir}/agave/palettes/Tango-Palette.gpl
-%{_datadir}/agave/palettes/Visibone.gpl
-%{_datadir}/agave/palettes/Web.gpl
-%{_datadir}/agave/palettes/Ximian-Palette.gpl
-%{_datadir}/agave/pixmaps/darken.png
-%{_datadir}/agave/pixmaps/desaturate.png
-%{_datadir}/agave/pixmaps/lighten.png
-%{_datadir}/agave/pixmaps/saturate.png
+%dir %{_datadir}/agave
+%dir %{_datadir}/agave/palettes
+%{_datadir}/agave/palettes/*.gpl
+%dir %{_datadir}/agave/pixmaps
+%{_datadir}/agave/pixmaps/*.png
+%dir %{_datadir}/agave/ui
+%{_datadir}/agave/ui/agave.glade
 %{_datadir}/agave/ui/agave.ui
 %{_datadir}/agave/ui/bookmarkspopup.ui
+%{_datadir}/omf/agave
 %{_desktopdir}/agave.desktop
 %{_iconsdir}/hicolor/48x48/apps/agave-icon.png
 %{_iconsdir}/hicolor/scalable/apps/agave-icon.svg
+%{_sysconfdir}/gconf/schemas/agave.schemas
This page took 0.09654 seconds and 4 git commands to generate.