145 lines
3.7 KiB
RPMSpec
145 lines
3.7 KiB
RPMSpec
|
%define mainver 0.2
|
||
|
# define this as version gets overridden by the subpackage with its own version
|
||
|
|
||
|
Name: libburn
|
||
|
Version: 0.2
|
||
|
Release: 3.20060823svn%{?dist}
|
||
|
Summary: Library for reading, mastering and writing optical discs
|
||
|
|
||
|
Group: System Environment/Libraries
|
||
|
License: GPL
|
||
|
URL: http://libburn.pykix.org/
|
||
|
Source0: %{name}-%{version}svn.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
BuildRequires: automake libtool intltool gettext
|
||
|
#Requires:
|
||
|
|
||
|
%description
|
||
|
Libburn is an open-source library for reading, mastering and writing
|
||
|
optical discs. For now this means only CD-R and CD-RW.
|
||
|
|
||
|
The project comprises of several more or less interdependent parts which
|
||
|
together strive to be a usable foundation for application development.
|
||
|
These are libraries, language bindings, and middleware binaries which emulate
|
||
|
classical (and valuable) Linux tools.
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries and header files for
|
||
|
developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%package -n libisofs
|
||
|
Summary: A library to create ISO 9660 disk images
|
||
|
Group: System Environment/Libraries
|
||
|
|
||
|
%description -n libisofs
|
||
|
libisofs the library to pack up hard disk files and directories into a
|
||
|
ISO 9660 disk image. This may then be brought to CD via libburn.
|
||
|
libisofs is to be the foundation of our upcoming mkisofs emulation.
|
||
|
|
||
|
|
||
|
%package -n libisofs-devel
|
||
|
Summary: Development files for libisofs
|
||
|
Group: Development/Libraries
|
||
|
Requires: libisofs = %{version}-%{release}
|
||
|
Requires: libburn = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
|
||
|
%description -n libisofs-devel
|
||
|
The libisofs-devel package contains libraries and header files for
|
||
|
developing applications that use libisofs.
|
||
|
|
||
|
|
||
|
%package -n cdrskin
|
||
|
Summary: Limited cdrecord compatibility wrapper to ease migration to libburn
|
||
|
Group: Applications/Multimedia
|
||
|
Version: 0.1.4
|
||
|
Requires: %{name} = %{mainver}-%{release}
|
||
|
|
||
|
%description -n cdrskin
|
||
|
A limited cdrecord compatibility wrapper which allows to use some libburn
|
||
|
features from the command line.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -n %{name}-%{mainver}svn -q
|
||
|
|
||
|
|
||
|
%build
|
||
|
./bootstrap
|
||
|
%configure --disable-static
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
install -d $RPM_BUILD_ROOT%{_bindir}
|
||
|
install -m 0755 cdrskin/cdrskin $RPM_BUILD_ROOT%{_bindir}/cdrskin
|
||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%post -n libisofs -p /sbin/ldconfig
|
||
|
|
||
|
%postun -n libisofs -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc AUTHORS COPYING COPYRIGHT README
|
||
|
%{_libdir}/%{name}*.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc
|
||
|
%{_includedir}/%{name}/%{name}.h
|
||
|
%{_libdir}/%{name}*.so
|
||
|
%{_libdir}/pkgconfig/%{name}*.pc
|
||
|
|
||
|
%files -n libisofs
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc
|
||
|
%{_libdir}/libisofs*.so.*
|
||
|
|
||
|
%files -n libisofs-devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc
|
||
|
%{_includedir}/libburn/libisofs.h
|
||
|
%{_libdir}/libisofs*.so
|
||
|
%{_libdir}/pkgconfig/libisofs*.pc
|
||
|
|
||
|
%files -n cdrskin
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc
|
||
|
%{_bindir}/cdrskin
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sun Aug 27 2006 Jesse Keating <jkeating@redhat.com> - 0.2-3.20060823svn
|
||
|
- don't install dupe headers in -devel packages
|
||
|
- libisofs requires libburn devel for directory ownership
|
||
|
|
||
|
* Sun Aug 27 2006 Jesse Keating <jkeating@redhat.com> - 0.2-2.20060823svn
|
||
|
- Fix cdrskin require
|
||
|
- Fix tabs
|
||
|
- Added doc files
|
||
|
|
||
|
* Wed Aug 23 2006 Jesse Keating <jkeating@redhat.com> - 0.2-1.20060823svn
|
||
|
- Initial package for review
|