From 4b15ee2eebd8f7762c9e361f89c5cc72ad5a6dd7 Mon Sep 17 00:00:00 2001 From: aredridel Date: Thu, 1 Feb 2007 21:56:16 +0000 Subject: [PATCH] - added Changed files: avant-window-navigator.spec -> 1.1 --- avant-window-navigator.spec | 89 +++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 avant-window-navigator.spec diff --git a/avant-window-navigator.spec b/avant-window-navigator.spec new file mode 100644 index 0000000..faac5b7 --- /dev/null +++ b/avant-window-navigator.spec @@ -0,0 +1,89 @@ +# +# TODO: Complete buildrequires +# +Summary: Fully customisable dock-like window navigator for GNOME +Name: avant-window-navigator +%define snap 20070201 +Version: 0.1.1.%{snap} +Release: 1 +License: GPL +Group: X11/Applications +#Source0: http://avant-window-navigator.googlecode.com/files/%{name}-%{version}-2.tar.gz +Source0: %{name}-%{version}.tar.gz +# Source0-md5: fd118586411eaf68447f79aa338a6561 +URL: http://code.google.com/p/avant-window-navigator/ +BuildRequires: GConf2-devel >= 2.14.0 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: gnome-common >= 2.12.0 +BuildRequires: gnome-doc-utils >= 0.7.1 +BuildRequires: gtk+2-devel >= 2:2.10.0 +BuildRequires: intltool >= 0.35 +BuildRequires: libglade2-devel >= 1:2.6.0 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.197 +Requires(post,postun): gtk+2 >= 2:2.10.0 +Requires(post,preun): GConf2 >= 2.14.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Avant Window Navgator (Awn) is a dock-like bar which sits at the +bottom of the screen (in all its composited-goodness) tracking open +windows. + +%prep +%setup -q + +%build +%{__intltoolize} +%{__libtoolize} +%{__aclocal} +ls ltmain.sh +%{__autoconf} +%{__autoheader} +%{__automake} +LDFLAGS="%{rpmldflags} -Wl,--as-needed" +%configure \ + --disable-schemas-install +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + +%find_lang %{name} --with-gnome --all-name + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%scrollkeeper_update_post +%gconf_schema_install %{name}.schemas +gtk-update-icon-cache -qf %{_datadir}/icons/hicolor + +%preun +%gconf_schema_uninstall %{name}.schemas + +%postun +%scrollkeeper_update_postun +gtk-update-icon-cache -qf %{_datadir}/icons/hicolor + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas +%attr(755,root,root) %{_bindir}/avant-preferences +%attr(755,root,root) %{_bindir}/avant-window-navigator +%{_desktopdir}/avant-preferences.desktop +%{_desktopdir}/avant-window-navigator.desktop +%dir %{_datadir}/avant-window-navigator +%dir %{_datadir}/avant-window-navigator/active +%{_datadir}/avant-window-navigator/active/*.png +%{_datadir}/avant-window-navigator/*.png +%{_datadir}/avant-window-navigator/*.svg +%{_datadir}/avant-window-navigator/*.glade -- 2.44.0