libmirage-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: A CD-ROM image access library
  2. Summary(ja): CD-ROM イメージにアクセスするためのライブラリ
  3. Name: libmirage
  4. Version: 3.1.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://cdemu.sourceforge.net
  9. Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake >= 2.8.5
  12. BuildRequires: pkgconfig >= 0.16
  13. BuildRequires: glib2-devel >= 2.28
  14. BuildRequires: libsndfile-devel >= 1.0.0
  15. BuildRequires: zlib-devel >= 1.2.0
  16. BuildRequires: bzip2-devel >= 1.0.0
  17. Buildrequires: xz-devel >= 5.0.0
  18. BuildRequires: gtk-doc >= 1.4
  19. BuildRequires: gobject-introspection-devel >= 1.30.0
  20. Requires(post): shared-mime-info
  21. Requires(postun): shared-mime-info
  22. %description
  23. This is libMirage library, a CD-ROM image access library, and part of the
  24. userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
  25. written in C and based on GLib.
  26. The aim of libMirage is to provide uniform access to the data stored in
  27. different image formats, by creating a representation of disc stored in image
  28. file, which is based on GObjects.
  29. %package devel
  30. Summary: libmirage devel package
  31. Summary(ja): libMirage の開発パッケージ
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. %description devel
  35. This is libMirage library, a CD-ROM image access library, and part of the
  36. userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
  37. written in C and based on GLib.
  38. This package contains files needed to develop with libMirage.
  39. %prep
  40. %setup -q
  41. %build
  42. %cmake .
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf $RPM_BUILD_ROOT
  46. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  47. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
  48. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libmirage*/*.{a,la}
  49. %clean
  50. %{__rm} -rf $RPM_BUILD_ROOT
  51. %post
  52. /sbin/ldconfig
  53. update-mime-database %{_datadir}/mime &> /dev/null || :
  54. %postun
  55. /sbin/ldconfig
  56. update-mime-database %{_datadir}/mime &> /dev/null || :
  57. %files
  58. %defattr(-, root, root, -)
  59. %doc AUTHORS ChangeLog COPYING NEWS README
  60. %{_libdir}/libmirage.so.*
  61. %{_libdir}/libmirage*/*.so
  62. %{_libdir}/girepository-1.0/Mirage-*.typelib
  63. %{_datadir}/mime/packages/*
  64. %files devel
  65. %defattr(-, root, root, -)
  66. %{_libdir}/lib*.so
  67. %{_includedir}/*
  68. %{_libdir}/pkgconfig/*
  69. %{_datadir}/gir-1.0/Mirage-*.gir
  70. %doc %{_datadir}/gtk-doc/html/*
  71. %changelog
  72. * Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.1.0-1
  73. - update to 3.1.0
  74. * Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.5-1
  75. - update to 3.0.5
  76. - update BuildRequires
  77. * Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
  78. - new upstream release
  79. - changed atchive type gzip to bzip2
  80. * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
  81. - new upstream release
  82. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.3.0-2
  83. - rebuilt with rpm-4.8.1 for pkg-config
  84. * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
  85. - new upstream release
  86. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  87. - initial build for VineSeed
  88. * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
  89. - Updated to 1.1.0
  90. * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
  91. - Initial RPM release.