Group: X11/Applications
Source0: -
# Source0-md5: -
+#Patch0:
#URL: http://
BuildRequires: rpmbuild(macros) >= 1.596
Requires: desktop-file-utils
%prep
%setup -q
+#%patch0 -p1
%build
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}.lang
+
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
%clean
rm -rf $RPM_BUILD_ROOT
%update_icon_cache hicolor
%update_mime_database
+# Compile GSettings schemas
+# requires: glib2 >= 1:2.26.0
+%glib_compile_schemas
+
%postun
-%update_desktop_database_postun
+%update_desktop_database
%update_icon_cache hicolor
%update_mime_database
-%files
+# Compile GSettings schemas
+# requires: glib2 >= 1:2.26.0
+%glib_compile_schemas
+
+%files -f %{name}.lang
%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.*
+%{_mandir}/man1/%{name}.1*