Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 6121fb4adabd99fe7d17ae88ba516c72 > files > 2

libisofs-0.2.8-1mdv2008.1.src.rpm

%define name    libisofs
# We ship only one app which
# actually uses libisofs - brasero. Brasero 0.6.0 does not work with
# libisofs versions beyond 0.2.8. Do NOT update this package past
# 0.2.8 unless you are 100% sure a version of Brasero which works
# with the newer version of this package is available, and you are
# also going to update Brasero. -AdamW 2007/08
%define version 0.2.8
%define rel 	1

%define major 	5
%define libname %mklibname isofs %major
%define develname %mklibname isofs -d

Summary: 	Library for creating ISO disc images
Name: 		%name
Version: 	%version
Release: 	%mkrel %rel
Url: 		http://libburnia.pykix.org/
License: 	GPLv2+
Group: 		System/Libraries
Source: 	http://libburnia-download.pykix.org/releases/%{name}-%{version}.tar.gz
Buildroot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	doxygen
BuildRequires:	graphviz
BuildRequires:	libburn-devel

%description
Libisofs is a library that handles creating ISO disc image files. It
is intended to work together with libburn to write these images to
discs.

%package -n	%{libname}
Group:		System/Libraries
Summary:	Library for creating ISO disc images

%description -n %{libname}
Libisofs is a library that handles creating ISO disc image files. It
is intended to work together with libburn to write these images to
discs.

%package -n %{develname}
Group:          Development/C
Summary:        Header files for development with %name
Provides:       %{name}-devel = %{version}
Requires:       %{libname} = %{version}

%description -n %{develname}
This package includes the header files for the %{name} package.

%prep
%setup -q

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

# build documentation
doxygen doc/doxygen.conf

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %{libname}
%defattr(-,root,root)
%doc README AUTHORS COPYRIGHT
%_libdir/libisofs.so.%{major}*

%files -n %{develname}
%defattr(-,root,root)
%_libdir/libisofs.so
%_libdir/libisofs.la
%_libdir/libisofs.a
%_libdir/pkgconfig/*.pc
%_includedir/%name/



%changelog
* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.2.8-1mdv2008.1
+ Revision: 140924
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sun Aug 26 2007 Adam Williamson <awilliamson@mandriva.com> 0.2.8-1mdv2008.0
+ Revision: 71456
- don't package COPYING, not needed
- protect against major change in file list
- use Fedora license policy
- new major 5
- new release 0.2.8 (now supported by brasero)
- add note about not updating to newer versions

* Tue Jul 31 2007 Adam Williamson <awilliamson@mandriva.com> 0.2.5-1mdv2008.0
+ Revision: 57149
- new release 0.2.5

* Tue Jul 03 2007 Adam Williamson <awilliamson@mandriva.com> 0.2.4-1mdv2008.0
+ Revision: 47402
- buildrequires libburn
- Import libisofs