Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
e2fsprogs
e2fsprogs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File e2fsprogs.spec of Package e2fsprogs
# # spec file for package e2fsprogs # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: e2fsprogs License: GPLv2+ Group: System/Filesystems Supplements: filesystem(ext2) filesystem(ext3) filesystem(ext4) BuildRequires: libblkid-devel libuuid-devel pkg-config PreReq: %install_info_prereq AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: e2fsprogs-64bit %endif # Version: 1.41.14 Release: 2 Summary: Utilities for the Second Extended File System Url: http://e2fsprogs.sourceforge.net Source: %{name}-%{version}.tar.bz2 Source2: README.SUSE Source3: baselibs.conf #Added for 1.41.14; can be removed with the next release Source4: e2fsprogs-1.41.14.de.po.bz2 # # e2fsprogs patches # Patch7: e2fsprogs-1.41.1-splash_support.patch # libcom_err patches Patch34: libcom_err-compile_et_permissions.patch # Do not suppress make commands BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Utilities needed to create and maintain ext2 and ext3 file systems under Linux. Included in this package are: chattr, lsattr, mke2fs, mklost+found, tune2fs, e2fsck, resize2fs, and badblocks. %package devel License: GPLv2+ Summary: Dummy development package Group: Development/Libraries/C and C++ AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: e2fsprogs-devel-64bit %endif # Requires: libext2fs-devel = %version libblkid-devel libuuid-devel %description devel Dummy development package for backwards compatibility. %package -n libext2fs2 License: GPLv2+ Summary: Ext2fs libray Group: System/Filesystems AutoReqProv: on %description -n libext2fs2 The basic Ext2fs shared library. %package -n libext2fs-devel License: GPLv2+ Summary: Development files for libext2fs Group: Development/Libraries/C and C++ AutoReqProv: on Requires: libext2fs2 = %version libcom_err-devel %description -n libext2fs-devel Development files for libext2fs. %package -n libcom_err2 License: GPLv2+ Summary: E2fsprogs error reporting library Group: System/Filesystems # bug437293 %ifarch ppc64 Obsoletes: libcom_err-64bit Obsoletes: libcom_err2-64bit %endif # Provides: libcom_err = %{version} Obsoletes: libcom_err <= 1.40 AutoReqProv: on %description -n libcom_err2 com_err is an error message display library. %package -n libcom_err-devel License: GPLv2+ Summary: Development files for libcom_err Group: Development/Libraries/C and C++ AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: libcom_err-devel-64bit %endif # Requires: libcom_err2 = %version glibc-devel %description -n libcom_err-devel Development files for the com_err error message display library. %prep %setup -q # e2fsprogs patches %patch7 # libcom_err patches %patch34 -p1 cp %{SOURCE2} . bunzip2 -dc %{S:4} > po/de.po %build autoreconf --force --install ./configure --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --libdir=%{_libdir} \ --disable-evms \ --with-root-prefix='' \ --enable-elf-shlibs \ --disable-libblkid \ --disable-libuuid \ --disable-uuidd \ --disable-fsck \ CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} V=1 #Guarantee that tranlations match the source messages make -C po update-po %install make install install-libs DESTDIR=$RPM_BUILD_ROOT ELF_INSTALL_DIR=/%{_lib} %{find_lang} %{name} rm $RPM_BUILD_ROOT%{_libdir}/e2initrd_helper rm -f $RPM_BUILD_ROOT/sbin/mkfs.ext4dev rm -f $RPM_BUILD_ROOT/sbin/fsck.ext4dev rm -f $RPM_BUILD_ROOT/usr/share/man/man8/mkfs.ext4dev.8* rm -f $RPM_BUILD_ROOT/usr/share/man/man8/fsck.ext4dev.8* %ifarch %sparc rm -v %{buildroot}%{_libdir}/lib{com,e2p,ss}*.a %else rm -v %{buildroot}%{_libdir}/*.a %endif %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz %postun /sbin/ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz %post -n libext2fs2 -p /sbin/ldconfig %postun -n libext2fs2 -p /sbin/ldconfig %post -n libcom_err2 -p /sbin/ldconfig %postun -n libcom_err2 -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) %doc RELEASE-NOTES README %config /etc/mke2fs.conf /sbin/badblocks /sbin/debugfs /sbin/dumpe2fs /sbin/e2undo /sbin/e2fsck /sbin/e2label /sbin/fsck.ext2 /sbin/fsck.ext3 /sbin/fsck.ext4 /sbin/mke2fs /sbin/mkfs.ext2 /sbin/mkfs.ext3 /sbin/mkfs.ext4 /sbin/resize2fs /sbin/tune2fs /sbin/e2image /sbin/logsave /usr/bin/chattr /usr/bin/lsattr /usr/sbin/mklost+found /usr/sbin/filefrag /usr/sbin/e2freefrag %{_infodir}/libext2fs.info.gz %{_mandir}/man1/chattr.1.gz %{_mandir}/man1/lsattr.1.gz %{_mandir}/man5/e2fsck.conf.5.gz %{_mandir}/man5/mke2fs.conf.5.gz %{_mandir}/man8/*.8.gz %files devel %defattr(-,root,root) %doc README.SUSE %files -n libext2fs2 %defattr(-, root, root) /%{_lib}/libext2fs.so.* /%{_lib}/libe2p.so.* %files -n libext2fs-devel %defattr(-, root, root) %{_libdir}/libext2fs.so %ifarch %sparc %{_libdir}/libext2fs.a %endif %{_libdir}/libe2p.so /usr/include/ext2fs /usr/include/e2p %_libdir/pkgconfig/e2p.pc %_libdir/pkgconfig/ext2fs.pc %files -n libcom_err2 %defattr(-, root, root) /%{_lib}/libcom_err.so.* /%{_lib}/libss.so.* %files -n libcom_err-devel %defattr(-, root, root) %_bindir/compile_et %_bindir/mk_cmds %{_libdir}/libcom_err.so %{_libdir}/libss.so %_libdir/pkgconfig/com_err.pc %_libdir/pkgconfig/ss.pc %_includedir/et %_includedir/ss %_datadir/et %_datadir/ss %{_mandir}/man1/compile_et.1.gz %{_mandir}/man1/mk_cmds.1.gz %{_mandir}/man3/com_err.3.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor