Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > b08a103d69a51400cb421a954503f31b > files > 2

synce-software-manager-0.9.0-5mdv2009.0.src.rpm

%define name	synce-software-manager
%define version	0.9.0
%define release	%mkrel 5

Summary: 	SynCE: Software manager for GNOME 2
Name: 		%{name}
Version: 	0.9.0
Release: 	%{release}
License: 	MIT LGPL
Group: 		Communications
Source: 	%{name}-%{version}.tar.bz2
URL: 		http://synce.sourceforge.net/
Buildroot: 	%{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: 	libsynce-devel >= 0.9.0
BuildRequires:	gtk2-devel libgnomeui2-devel libglade2.0-devel
BuildRequires:	librapi-devel

%description
Graphical tool for installing and removing software on a Windows CE device.

%prep
%setup -q

%build
%configure2_5x --disable-static --with-librapi2-include=%{_includedir} \
--with-librapi2-lib=%{_libdir}
%make

%install
rm -fr %buildroot
%makeinstall
%find_lang %name

mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
cat > $RPM_BUILD_ROOT/%{_datadir}/applications/mandriva-%{name}.desktop <<EOF
[Desktop Entry]
Name=Synce-software-manager
Comment=Software manager for WinCE devices
Exec=%_bindir/%{name}
Icon=communications_section
Terminal=false
Type=Application
Categories=X-MandrivaLinux-Office-Communications-Phone;Network;Telephony;
EOF
%clean
rm -fr %buildroot

%if %mdkversion < 200900
%post
%update_menus
%endif

%if %mdkversion < 200900
%postun
%clean_menus
%endif

%files -f %name.lang
%defattr(-,root,root)
%doc COPYING ChangeLog
%{_bindir}/*
%{_datadir}/synce/synce_software_manager.glade
%{_datadir}/applications/mandriva-%{name}.desktop


%changelog
* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.9.0-5mdv2009.0
+ Revision: 242849
- rebuild
- kill re-definition of %%buildroot on Pixel's request
- kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

  + Emmanuel Andry <eandry@mandriva.org>
    - drop requires synce

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu May 31 2007 Funda Wang <fundawang@mandriva.org> 0.9.0-2mdv2008.0
+ Revision: 33045
- Buildrequries rapi
- Use xdg menu


* Tue Jan 13 2004 Austin Acton <austin@mandrake.org> 0.9.0-1mdk
- adapt spec from Nicolas Lécureuil <neoclust@zarb.org>
- add menu entry