source: projects/specs/trunk/lib/libm/libmirage/libmirage-vl.spec @ 11431

Revision 11431, 3.2 KB checked in by iwaim, 6 years ago (diff)

libmirage 3.1.0-1

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