libmirage-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: A CD-ROM image access library
  2. Summary(ja): CD-ROM イメージにアクセスするためのライブラリ
  3. Name: libmirage
  4. Version: 1.5.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: glib2-devel >= 2.6.0
  12. BuildRequires: pkgconfig >= 1:0.14
  13. BuildRequires: flex >= 2.5.33, bison
  14. BuildRequires: libsndfile-devel
  15. BuildRequires: zlib-devel
  16. BuildRequires: gtk-doc >= 1.4
  17. Requires(post): shared-mime-info
  18. Requires(postun): shared-mime-info
  19. %description
  20. This is libMirage library, a CD-ROM image access library, and part of the
  21. userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
  22. written in C and based on GLib.
  23. The aim of libMirage is to provide uniform access to the data stored in
  24. different image formats, by creating a representation of disc stored in image
  25. file, which is based on GObjects.
  26. %package devel
  27. Summary: libmirage devel package
  28. Summary(ja): libMirage の開発パッケージ
  29. Group: Development/Libraries
  30. Requires: pkgconfig >= 1:0.14
  31. Requires: %{name} = %{version}-%{release}
  32. %description devel
  33. This is libMirage library, a CD-ROM image access library, and part of the
  34. userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
  35. written in C and based on GLib.
  36. This package contains files needed to develop with libMirage.
  37. %prep
  38. %setup -q
  39. %build
  40. %{configure} --enable-gtk-doc --disable-static
  41. %{__make} %{?_smp_mflags}
  42. %install
  43. %{__rm} -rf $RPM_BUILD_ROOT
  44. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  45. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
  46. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libmirage*/*.{a,la}
  47. %clean
  48. %{__rm} -rf $RPM_BUILD_ROOT
  49. %post
  50. /sbin/ldconfig
  51. update-mime-database %{_datadir}/mime &> /dev/null || :
  52. %postun
  53. /sbin/ldconfig
  54. update-mime-database %{_datadir}/mime &> /dev/null || :
  55. %files
  56. %defattr(-, root, root, -)
  57. %doc AUTHORS ChangeLog COPYING NEWS README
  58. %{_libdir}/libmirage.so.*
  59. %{_libdir}/libmirage*/*.so
  60. %{_datadir}/mime/packages/*
  61. %files devel
  62. %defattr(-, root, root, -)
  63. %{_libdir}/lib*.so
  64. %{_includedir}/*
  65. %{_libdir}/pkgconfig/*
  66. %doc %{_datadir}/gtk-doc/html/*
  67. %changelog
  68. * Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
  69. - new upstream release
  70. - changed atchive type gzip to bzip2
  71. * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
  72. - new upstream release
  73. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.3.0-2
  74. - rebuilt with rpm-4.8.1 for pkg-config
  75. * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
  76. - new upstream release
  77. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  78. - initial build for VineSeed
  79. * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
  80. - Updated to 1.1.0
  81. * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
  82. - Initial RPM release.