packages: ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec - introduce package sche...

adamg adamg at pld-linux.org
Sun Jun 19 21:49:53 CEST 2011


Author: adamg                        Date: Sun Jun 19 19:49:53 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- introduce package scheme suggested by qboosh in
  http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2011-June/022228.html

---- Files affected:
packages/ntfs-3g_ntfsprogs:
   ntfs-3g_ntfsprogs.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec
diff -u packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.1 packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.2
--- packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.1	Sat Jun 18 22:34:55 2011
+++ packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec	Sun Jun 19 21:49:48 2011
@@ -21,24 +21,36 @@
 %{!?with_internal_fuse:BuildRequires:	libfuse-devel >= 2.6.0}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-Obsoletes:	ntfs-3g
-Obsoletes:	ntfsprogs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sbindir	/sbin
 
 %description
+ntfs-3g_ntfsprogs is a stable, full-featured, read-write NTFS driver
+for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX,
+Haiku, and other operating systems. It provides safe handling of the
+Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows
+Server 2008 and Windows 7 NTFS file systems.
+
+%package -n ntfsprogs
+Summary:	The NTFS driver with read and write support
+Summary(pl.UTF-8):	Sterownik do NTFS umożliwiający odczyt i zapis
+Group:		Applications/System
+
+%description -n ntfsprogs
 The driver to NTFS with read and write support. It is able to
 unlimited and fully save file creation and deletion.
 
 This package contains the following utilities:
 
 - ntfsfix - attempt to fix an NTFS partition that has been damaged by
-  the Linux NTFS driver. It should be run every time after you have used
-  the Linux NTFS driver to write to an NTFS partition to prevent massive
-  data corruption from happening when Windows mounts the partition.
-  IMPORTANT: Run this only *after* unmounting the partition in Linux but
-  *before* rebooting into Windows NT/2000!,
+  the Linux NTFS driver. It should be run every time after you have
+  used the Linux NTFS driver to write to an NTFS partition to prevent
+  massive data corruption from happening when Windows mounts the
+  partition.
+
+  IMPORTANT: Run this only *after* unmounting the partition in Linux
+  but *before* rebooting into Windows NT/2000!,
 - mkntfs - create partition with the NTFS filesystem,
 - ntfslabel - display/change the label of an NTFS partition,
 - ntfsundelete - recover deleted files from an NTFS volume,
@@ -49,7 +61,7 @@
 
 You can find more information about these utilities in their manuals.
 
-%description -l pl.UTF-8
+%description -n ntfsprogs -l pl.UTF-8
 Sterownik do systemu plików NTFS posiadający możliwość zarówno odczytu
 jak i zapisu. Umożliwia tworzenie i kasowanie plików nieograniczoną
 liczbę razy.
@@ -58,9 +70,10 @@
 
 - ntfsfix - próbuje naprawiać partycję NTFS uszkodzone przez linuksowy
   sterownik do NTFS. Powinien być uruchamiany po każdym zapisie na
-  partycji NTFS, aby zapobiec masowemu zniszczeniu danych. WAŻNE: należy
-  uruchamiać ten program tylko *po* odmontowaniu partycji pod Linuksem,
-  ale *przed* uruchomieniem Windows NT/2000!
+  partycji NTFS, aby zapobiec masowemu zniszczeniu danych.
+
+  WAŻNE: należy uruchamiać ten program tylko *po* odmontowaniu
+  partycji pod Linuksem, ale *przed* uruchomieniem Windows NT/2000!
 - mkntfs - "formatuje" partycję NTFS.
 - ntfslabel - wyświetla/zmienia etykietę partycji NTFS.
 - ntfsundelete - odzyskuje usunięte pliki z wolumenu NTFS.
@@ -71,54 +84,79 @@
 
 Więcej informacji na temat tych narzędzi można znaleźć w manualach.
 
-%package devel
+%package -n ntfs-3g
+Summary:	The NTFS driver with read and write support
+Summary(pl.UTF-8):	Sterownik do NTFS umożliwiający odczyt i zapis
+Group:		Applications/System
+
+%description -n ntfs-3g
+The driver to NTFS with read and write support. It is able to
+unlimited and fully save file creation and deletion.
+
+%description -n ntfs-3g -l pl.UTF-8
+Sterownik do systemu plików NTFS posiadający możliwość zarówno odczytu
+jak i zapisu. Umożliwia tworzenie i kasowanie plików nieograniczoną
+liczbę razy.
+
+%package -n ntfs-3g-libs
+Summary:	ntfs-3g shared libraries
+Summary(pl.UTF-8):	Wspólne biblioteki ntfs-3g
+Group:		Libraries
+
+%description -n ntfs-3g-libs
+ntfs-3g shared libraries.
+
+%description -n ntfs-3g-libs -l pl.UTF-8
+Współdzielone biblioteki ntfs-3g.
+
+%package -n ntfs-3g-devel
 Summary:	Header files for libntfs-3g library
 Summary(pl.UTF-8):	Pliki nagłówkowe dla biblioteki libntfs-3g
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-libs = %{epoch}:%{version}-%{release}
 
-%description devel
+%description -n ntfs-3g-devel
 This package includes the header files needed to link software with
 libnfts-3g libraries.
 
-%description devel -l pl.UTF-8
+%description -n ntfs-3g-devel -l pl.UTF-8
 Pliki nagłówkowe potrzebne do budowania programów korzystających z
 bibliotek libntfs-3g.
 
-%package static
+%package -n ntfs-3g-static
 Summary:	Static version of libntfs-3g library
 Summary(pl.UTF-8):	Statyczna wersja bibliotek libntfs-3g
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g-devel = %{epoch}:%{version}-%{release}
 
-%description static
+%description -n ntfs-3g-static
 This package contains the static version of libntfs-3g library.
 
-%description static -l pl.UTF-8
+%description -n ntfs-3g-static -l pl.UTF-8
 Ten pakiet zawiera statyczną wersję bibliotek libntfs-3g.
 
-%package hal
+%package -n ntfs-3g-hal
 Summary:	HAL integration for ntfs-3g
 Summary(pl.UTF-8):	Integracja ntfs-3g z HAL-em
 Group:		Applications/System
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g = %{epoch}:%{version}-%{release}
 
-%description hal
+%description -n ntfs-3g-hal
 HAL integration for ntfs-3g.
 
-%description hal -l pl.UTF-8
+%description -n ntfs-3g-hal -l pl.UTF-8
 Integracja ntfs-3g z HAL-em.
 
-%package udev
+%package -n ntfs-3g-udev
 Summary:	udev integration for ntfs-3g
 Summary(pl.UTF-8):	Integracja ntfs-3g z udevem
 Group:		Applications/System
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	ntfs-3g = %{epoch}:%{version}-%{release}
 
-%description udev
+%description -n ntfs-3g-udev
 udev integration for ntfs-3g.
 
-%description udev -l pl.UTF-8
+%description -n ntfs-3g-udev -l pl.UTF-8
 Integracja ntfs-3g z udevem.
 
 %prep
@@ -159,9 +197,8 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files
+%files -n ntfsprogs
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/ntfscat
 %attr(755,root,root) %{_bindir}/ntfscluster
 %attr(755,root,root) %{_bindir}/ntfscmp
@@ -175,22 +212,6 @@
 %attr(755,root,root) %{_sbindir}/ntfsresize
 %attr(755,root,root) %{_sbindir}/ntfsundelete
 %attr(755,root,root) /sbin/mkfs.ntfs
-%attr(755,root,root) %{_bindir}/lowntfs-3g
-%attr(755,root,root) %{_bindir}/ntfs-3g
-%attr(755,root,root) %{_bindir}/ntfs-3g.probe
-%attr(755,root,root) %{_bindir}/ntfs-3g.secaudit
-%attr(755,root,root) %{_bindir}/ntfs-3g.usermap
-%attr(755,root,root) %{_sbindir}/mount.lowntfs-3g
-%attr(755,root,root) %{_sbindir}/mount.ntfs
-%attr(755,root,root) %{_sbindir}/mount.ntfs-3g
-%attr(755,root,root) %{_libdir}/libntfs-3g.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libntfs-3g.so.81
-%{_mandir}/man8/mount.lowntfs-3g.8*
-%{_mandir}/man8/mount.ntfs-3g.8*
-%{_mandir}/man8/ntfs-3g.8*
-%{_mandir}/man8/ntfs-3g.probe.8*
-%{_mandir}/man8/ntfs-3g.secaudit.8*
-%{_mandir}/man8/ntfs-3g.usermap.8*
 %{_mandir}/man8/mkfs.ntfs.8*
 %{_mandir}/man8/mkntfs.8*
 %{_mandir}/man8/ntfscat.8*
@@ -206,22 +227,45 @@
 %{_mandir}/man8/ntfsresize.8*
 %{_mandir}/man8/ntfsundelete.8*
 
-%files devel
+%files -n ntfs-3g
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/lowntfs-3g
+%attr(755,root,root) %{_bindir}/ntfs-3g
+%attr(755,root,root) %{_bindir}/ntfs-3g.probe
+%attr(755,root,root) %{_bindir}/ntfs-3g.secaudit
+%attr(755,root,root) %{_bindir}/ntfs-3g.usermap
+%attr(755,root,root) %{_sbindir}/mount.lowntfs-3g
+%attr(755,root,root) %{_sbindir}/mount.ntfs
+%attr(755,root,root) %{_sbindir}/mount.ntfs-3g
+%{_mandir}/man8/mount.lowntfs-3g.8*
+%{_mandir}/man8/mount.ntfs-3g.8*
+%{_mandir}/man8/ntfs-3g.8*
+%{_mandir}/man8/ntfs-3g.probe.8*
+%{_mandir}/man8/ntfs-3g.secaudit.8*
+%{_mandir}/man8/ntfs-3g.usermap.8*
+
+%files -n ntfs-3g-libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libntfs-3g.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libntfs-3g.so.81
+
+%files -n ntfs-3g-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libntfs-3g.so
 %{_libdir}/libntfs-3g.la
 %{_includedir}/ntfs-3g
 %{_pkgconfigdir}/libntfs-3g.pc
 
-%files static
+%files -n ntfs-3g-static
 %defattr(644,root,root,755)
 %{_libdir}/libntfs-3g.a
 
-%files hal
+%files -n ntfs-3g-hal
 %defattr(644,root,root,755)
 %{_datadir}/hal/fdi/policy/10osvendor/10-ntfs-3g.fdi
 
-%files udev
+%files -n ntfs-3g-udev
 %defattr(644,root,root,755)
 /lib/udev/rules.d/99-ntfs3g.rules
 
@@ -231,6 +275,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/06/19 19:49:48  adamg
+- introduce package scheme suggested by qboosh in
+  http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2011-June/022228.html
+
 Revision 1.1  2011/06/18 20:34:55  adamg
 - new, merge of ntfs-3g and ntfsprogs, spec based on ntfs-3g.spec
 - needs some work
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list