gnome-multi-writer-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: GNOME MultiWriter
  2. Summary(ja): GNOME 用マルチライター
  3. Name: gnome-multi-writer
  4. Version: 3.18.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Desktops
  8. URL: https://wiki.gnome.org/Apps/MultiWriter
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.18/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: libgusb-devel >= 0.2.2
  13. BuildRequires: udisks2-devel
  14. BuildRequires: eudev-libgudev1-devel
  15. BuildRequires: libcanberra-gtk3-devel
  16. BuildRequires: yelp-tools
  17. Requires(postun,posttrans): desktop-file-utils
  18. Requires(postun,posttrans): glib2
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. GNOME MultiWriter can be used to write an ISO file to multiple
  24. USB devices at once. Supported drive sizes are between 1GB and 32GB.
  25. %description -l ja
  26. gnome-multi-writer は一度に複数の USB デバイスへ ISO ファイルを書き
  27. 込むことができます。
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  37. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  38. %find_lang %{name} --with-gnome
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post
  42. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  43. %postun
  44. if [ $1 -eq 0 ]; then
  45. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  46. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  47. update-desktop-database -q &> /dev/null ||:
  48. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  49. fi
  50. %posttrans
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  52. update-desktop-database -q &> /dev/null ||:
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. %files -f %{name}.lang
  55. %defattr(-,root,root,-)
  56. %doc COPYING README.md NEWS
  57. %{_bindir}/%{name}
  58. %{_bindir}/%{name}-probe
  59. %{_datadir}/appdata/org.gnome.MultiWriter.appdata.xml
  60. %{_datadir}/applications/org.gnome.MultiWriter.desktop
  61. %{_datadir}/glib-2.0/schemas/org.gnome.MultiWriter.gschema.xml
  62. %{_datadir}/icons/*/*/*/*
  63. %{_datadir}/polkit-1/actions/org.gnome.MultiWriter.policy
  64. %{_mandir}/man1/%{name}.1.gz
  65. %changelog
  66. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  67. - new upstream release
  68. * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  69. - initial build