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

Revision 6150, 2.9 KB checked in by kudoh, 12 years ago (diff)
Line 
1Summary: A CD-ROM image access library
2Summary(ja): CD-ROM イメージにアクセスするためのライブラリ
3Name: libmirage
4Version: 1.5.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: glib2-devel >= 2.6.0
13BuildRequires: pkgconfig >= 1:0.14
14BuildRequires: flex >= 2.5.33, bison
15BuildRequires: libsndfile-devel
16BuildRequires: zlib-devel
17BuildRequires: gtk-doc >= 1.4
18
19Requires(post): shared-mime-info
20Requires(postun): shared-mime-info
21
22%description
23This is libMirage library, a CD-ROM image access library, and part of the
24userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
25written in C and based on GLib.
26
27The aim of libMirage is to provide uniform access to the data stored in
28different image formats, by creating a representation of disc stored in image
29file, which is based on GObjects.
30
31%package devel
32Summary: libmirage devel package
33Summary(ja): libMirage の開発パッケージ
34Group: Development/Libraries
35Requires: pkgconfig >= 1:0.14
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39This is libMirage library, a CD-ROM image access library, and part of the
40userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It is
41written in C and based on GLib.
42
43This 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
63update-mime-database %{_datadir}/mime &> /dev/null || :
64
65%postun
66/sbin/ldconfig
67update-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.
Note: See TracBrowser for help on using the repository browser.