Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37433587
en ru br
ALT Linux repos
S:0.3.0.5-alt5
5.0: 0.3.0.4-alt3
4.1: 0.3.0.4-alt2
4.0: 0.3.0.4-alt2.M40.1

Group :: System/Configuration/Hardware
RPM: progsreiserfs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable shared
%def_enable static
%def_enable nls

Name: progsreiserfs
%define lname lib%name
Version: 0.3.0.4
Release: alt2.M40.1
Summary: Programs needed for manipulating reiserfs partitions
Summary(uk_UA.CP1251): Програми для маніпулювання розділами диску з reiserfs
License: %gpl2plus
Group: System/Configuration/Hardware
Source: %name-%version.tar
Patch: %name-0.3.0.4-alt.patch
Requires: lib%name = %version-%release

# Automatically added by buildreq on Tue Aug 19 2008

BuildRequires: libuuid-devel
BuildRequires: rpm-build-licenses

%description
%name is a package that allows you to create, destroy, resize
and copy reiserfs filesystem.

%description -l uk_UA.CP1251
%name - пакет, який дозволє створювати, знищувати, змінювати
розмір та копіювати файлову систему reiserfs.


%if_enabled shared
%package -n %lname
Summary: Shared library for reiserfs utilities
Group: System/Libraries

%description -n %lname
This package includes the shared library needed to run
%lname-based software.
%endif


%package -n %lname-devel
Summary: Files required to compile software that uses %lname
Group: Development/C
Requires: %lname%{?_disable_shared:-devel-static} = %version-%release

%description -n %lname-devel
This package includes the header files for %lname.


%if_enabled static
%package -n %lname-devel-static
Summary: Files required to compile statically linked software that uses %lname
Group: Development/C
Requires: %lname = %version-%release

%description -n %lname-devel-static
This package includes the libraries needed to statically link software
with %lname.
%endif


%prep
%setup
%patch -p1


%build
%configure \
   %{subst_enable shared} \
   %{subst_enable static} \
   %{subst_enable nls} \
   --with-pic
%make_build
bzip2 --keep --best --force ChangeLog


%install
%make_install DESTDIR=%buildroot install
mv %buildroot%_sbindir/{fsck.reiserfs,reiserfs.fsck}
mv %buildroot%_sbindir/{mkfs.reiserfs,reiserfs.mkfs}
mv %buildroot%_man8dir/{mkfs.reiserfs,reiserfs.mkfs}.8


%post -n %lname -p %post_ldconfig
%postun -n %lname -p %postun_ldconfig


%if_enabled shared
%files -n %lname
%_libdir/*.so.*
%endif


%files -n %lname-devel
%doc doc/API
%{?_enable_shared:%_libdir/*.so}
%_includedir/*
%_datadir/aclocal/*


%if_enabled static
%files -n %lname-devel-static
%_libdir/*.a
%endif


%files
%doc AUTHORS ChangeLog.* NEWS README THANKS TODO
%_sbindir/*
%_man8dir/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin