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