]> git.pld-linux.org Git - packages/avant-window-navigator.git/blobdiff - avant-window-navigator.spec
- fixed -devel files, pl for -devel
[packages/avant-window-navigator.git] / avant-window-navigator.spec
index faac5b7e50ec04c065909ba68998841a9e5830e7..9f2ba51afec4418c053d21595e95ae12e65c73d3 100644 (file)
@@ -1,38 +1,58 @@
 #
-# TODO: Complete buildrequires
+# TODO: Complete buildrequires, -devel deps
 #
+%define snap 227
 Summary:       Fully customisable dock-like window navigator for GNOME
+Summary(pl.UTF-8):     W pełni konfigurowalny dokowy nawigator okien dla 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
+# Source0-md5: d0e8b5bb67eaa6c7158558c2ec47fa7b
 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-desktop-devel
 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: libwnck-devel
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.197
+Requires(post,postun): /sbin/ldconfig
 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
+Avant Window Navigator (Awn) is a dock-like bar which sits at the
 bottom of the screen (in all its composited-goodness) tracking open
 windows.
 
+%description -l pl.UTF-8
+Avant Window Navigator (Awn) to pasek podobny do doku umiejscowiony na
+dole ekranu śledzący otwarte okna.
+
+%package devel
+Summary:       Headers for avant window manager library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki zarządcy okien avant
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Headers for avant window manager library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki zarządcy okien avant.
+
 %prep
 %setup -q
 
@@ -40,11 +60,9 @@ windows.
 %{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
-ls ltmain.sh
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
        --disable-schemas-install
 %{__make}
@@ -56,6 +74,12 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,}
+mv $RPM_BUILD_ROOT%{_datadir}/locale/el{_GR,}
+mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,}
+mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,}
+mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,}
+
 %find_lang %{name} --with-gnome --all-name
 
 %clean
@@ -63,27 +87,56 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %scrollkeeper_update_post
-%gconf_schema_install %{name}.schemas
+#%%gconf_schema_install %{name}.schemas
 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+/sbin/ldconfig
 
 %preun
-%gconf_schema_uninstall %{name}.schemas
+%gconf_schema_uninstall switcher.schemas trash.schemas
 
 %postun
 %scrollkeeper_update_postun
 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+/sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/avant-window-navigator.schemas
+%{_sysconfdir}/gconf/schemas/switcher.schemas
+%{_sysconfdir}/gconf/schemas/trash.schemas
+%attr(755,root,root) %{_bindir}/avant-applets
+%attr(755,root,root) %{_bindir}/avant-launchers
 %attr(755,root,root) %{_bindir}/avant-preferences
 %attr(755,root,root) %{_bindir}/avant-window-navigator
-%{_desktopdir}/avant-preferences.desktop
-%{_desktopdir}/avant-window-navigator.desktop
+%attr(755,root,root) %{_bindir}/awn-applet-activation
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%dir %{_libdir}/awn
+%dir %{_libdir}/awn/applets
+%{_libdir}/awn/applets/*.desktop
+%dir %{_libdir}/awn/applets/switcher
+%attr(755,root,root) %{_libdir}/awn/applets/switcher/switcher.so
+%dir %{_libdir}/awn/applets/trash
+%attr(755,root,root) %{_libdir}/awn/applets/trash/trash.so
+%dir %{_libdir}/awn/applets/notification
+%attr(755,root,root) %{_libdir}/awn/applets/notification/notification-area.so
+%dir %{_libdir}/awn/applets/separator
+%attr(755,root,root) %{_libdir}/awn/applets/separator/separator.so
+%{_libdir}/awn/applets/trash/trashapplet.glade
 %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
+%{_desktopdir}/avant-preferences.desktop
+%{_desktopdir}/avant-window-navigator.desktop
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libawn.so
+%{_libdir}/libawn.la
+%dir %{_includedir}/libawn
+%{_includedir}/libawn/awn-applet-gconf.h
+%{_includedir}/libawn/awn-applet.h
+%{_includedir}/libawn/awn-defines.h
+%{_pkgconfigdir}/awn.pc
This page took 0.064944 seconds and 4 git commands to generate.