libmirage-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: A CD-ROM image access library
  2. Summary(ja): CD-ROM イメージにアクセスするためのライブラリ
  3. Name: libmirage
  4. Version: 1.2.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. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  69. - initial build for VineSeed
  70. * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
  71. - Updated to 1.1.0
  72. * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
  73. - Initial RPM release.