Summary:        Library to create ISO 9660 disk images
Summary(ja):    ISO9660 ディスクイメージを作成するためのライブラリ

Name:           libisofs
Version:        1.5.0
Release:        1%{?_dist_release}

Group:          System Environment/Libraries
License:        GPLv2
URL:            http://libburnia-project.org/
Vendor:         Project Vine
Distribution:   Vine Linux
Source0:        http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:  libburn-devel doxygen graphviz
Requires:       libburn


%description
Libisofs is a library to pack up hard disk files and directories into a
ISO 9660 disk image. This may then be burned to CD via libburn.


%package        devel
Summary:        Development files for %{name}
Summary(ja):    %{name} の開発ファイル
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig

%description    devel
The libisofs-devel package contains libraries and header files for
developing applications that use libisofs.


%prep
%setup -q


%build
%configure --disable-static
make %{?_smp_mflags}
doxygen doc/doxygen.conf


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
install -m 0644 doc/html/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%license COPYING COPYRIGHT
%doc AUTHORS README NEWS
%{_libdir}/%{name}*.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_includedir}/%{name}
%{_libdir}/libisofs*.so
%{_libdir}/pkgconfig/libisofs*.pc
 

%changelog
* Mon Sep 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.0-1
- new upstream release.

* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.8-1
- new upstream release

* Sun Mar 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.8-1
- new upstream release

* Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1
- new upstream release

* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.12-2
- rebuilt with rpm-4.8.1 for pkg-config

* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.12-1
- initial build for Vine Linux

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sun Jan 25 2009 Denis Leroy <denis@poolshark.org> - 0.6.12-1
- Update to 0.6.12 upstream version

* Wed Aug  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.6-2
- fix license tag

* Wed Jun 11 2008 Denis Leroy <denis@poolshark.org> - 0.6.6-1
- Update to upstream 0.6.6

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.8-3
- Autorebuild for GCC 4.3

* Wed Oct 10 2007 Jesse Keating <jkeating@redhat.com> - 0.2.8-2
- Rebuild for BuildID

* Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 0.2.8-1
- Update to 0.2.8
- Fixed Source URL

* Mon Jan 08 2007 Jesse Keating <jkeating@redhat.com> - 0.2.4-2
- Move html docs to -devel
- Change urls to new upstream location

* Wed Jan 03 2007 Jesse Keating <jkeating@redhat.com> - 0.2.4-1
- New upstream release to fix some issues

* Tue Jan 02 2007 Jesse Keating <jkeating@redhat.com> - 0.2.3-2
- Fix some issues brought up during review

* Tue Jan 02 2007 Jesse Keating <jkeating@redhat.com> - 0.2.3-1
- Initial release split off of libburn package.
- Disable docs for now, will be fixed in future upstream release
