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