forked from pool/parted
package according to shared library policy
OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=32
This commit is contained in:
parent
73be6aaa42
commit
09cabf510f
@ -1 +1 @@
|
|||||||
parted
|
libparted0
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 17 14:47:04 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
- package according to shared library policy: split libparted0
|
||||||
|
- add build dependencies on libblkid and libuuid
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 17 13:47:05 UTC 2010 - puzel@novell.com
|
Fri Sep 17 13:47:05 UTC 2010 - puzel@novell.com
|
||||||
|
|
||||||
|
27
parted.spec
27
parted.spec
@ -43,9 +43,11 @@ Requires: /sbin/udevadm
|
|||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: device-mapper-devel >= 1.02.33
|
BuildRequires: device-mapper-devel >= 1.02.33
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
|
BuildRequires: libblkid-devel >= 2.17
|
||||||
BuildRequires: libreiserfs-devel
|
BuildRequires: libreiserfs-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libsepol-devel
|
BuildRequires: libsepol-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
@ -59,6 +61,16 @@ Obsoletes: parted-64bit
|
|||||||
GNU Parted is a program for creating, destroying, resizing, checking,
|
GNU Parted is a program for creating, destroying, resizing, checking,
|
||||||
and copying partitions, and the file systems on them.
|
and copying partitions, and the file systems on them.
|
||||||
|
|
||||||
|
%package -n libparted0
|
||||||
|
License: GPLv3+
|
||||||
|
Summary: Library for manipulating partitions
|
||||||
|
Group: System/Filesystems
|
||||||
|
AutoReqProv: on
|
||||||
|
|
||||||
|
%description -n libparted0
|
||||||
|
Libparted is a library for creating, destroying, resizing, checking
|
||||||
|
and copying partitions and the file systems on them.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Summary: Parted Include Files and Libraries necessary for Development
|
Summary: Parted Include Files and Libraries necessary for Development
|
||||||
@ -66,7 +78,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: device-mapper-devel >= 1.02.33
|
Requires: device-mapper-devel >= 1.02.33
|
||||||
Requires: e2fsprogs-devel
|
Requires: e2fsprogs-devel
|
||||||
Requires: libreiserfs-devel
|
Requires: libreiserfs-devel
|
||||||
Requires: parted = %version
|
Requires: libparted0 = %version
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: parted-devel-64bit
|
Obsoletes: parted-devel-64bit
|
||||||
@ -109,19 +121,22 @@ rm %{buildroot}%{_libdir}/*.la
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
|
%post -n libparted0
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libparted0
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man8/part*.8.gz
|
%{_mandir}/man8/part*.8.gz
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%doc %{_infodir}/*.info*
|
%doc %{_infodir}/*.info*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -131,6 +146,10 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/pkgconfig/libparted.pc
|
%{_libdir}/pkgconfig/libparted.pc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
%files -n libparted0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user