diff options
author | Anant Narayanan <anant@kix.in> | 2006-09-14 15:18:45 +0000 |
---|---|---|
committer | Anant Narayanan <anant@kix.in> | 2006-09-14 15:18:45 +0000 |
commit | 232dbda915dfcfec99e5983b7f53d57d4498a6aa (patch) | |
tree | 4d54060e75f7f2df07de6e83004551b610ac9865 /parted.spec.in | |
download | parted-232dbda915dfcfec99e5983b7f53d57d4498a6aa.tar.gz |
Fix ChangeLog
git-svn-id: svn://svn.debian.org/svn/parted/upstream/trunk@820 2d424fd7-7fe2-0310-af74-8bc65edeb173
Diffstat (limited to 'parted.spec.in')
-rw-r--r-- | parted.spec.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/parted.spec.in b/parted.spec.in new file mode 100644 index 0000000..520108c --- /dev/null +++ b/parted.spec.in @@ -0,0 +1,78 @@ +%define name @PACKAGE@ +%define ver @VERSION@ +%define rel 1 +%define prefix /usr +%define sbindir /sbin +%define mandir /usr/share/man +%define aclocaldir /usr/share/aclocal + + +Summary : flexible partitioning tool +Name : %{name} +Version : %{ver} +Release : %{rel} +Source : ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{ver}.tar.gz +Buildroot : %{_tmppath}/%{name}-root +Packager : Fabian Emmes <fab@orlen.de> +Copyright : GPL +Group : Applications/System +Requires : e2fsprogs, readline +BuildPrereq : e2fsprogs-devel, readline-devel +%description +GNU Parted is a program that allows you to create, destroy, +resize, move and copy hard disk partitions. This is useful for +creating space for new operating systems, reorganising disk +usage, and copying data to new hard disks. + + +%package devel +Summary : files required to compile software that uses libparted +Group : Development/System +Requires : e2fsprogs +BuildPrereq : e2fsprogs-devel, readline-devel +%description devel +This package includes the header files and libraries needed to +statically link software with libparted. + + +%prep +%setup + +%build +if [ -n "$LINGUAS" ]; then unset LINGUAS; fi +%configure --prefix=%{prefix} --sbindir=%{sbindir} +make + + +%install +rm -rf "$RPM_BUILD_ROOT" +make DESTDIR="$RPM_BUILD_ROOT" install +strip "${RPM_BUILD_ROOT}%{sbindir}"/parted + + +%clean +rm -rf "$RPM_BUILD_ROOT" + + +%files +%defattr(-,root,root) +%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO doc/COPYING.DOC doc/API doc/USER doc/FAT +%{prefix}/share/locale/*/*/* +%{sbindir}/* +%{mandir}/*/* +%{prefix}/lib/*.so* + + +%files devel +%defattr(-,root,root) +%{prefix}/include/* +%{aclocaldir}/* +%{prefix}/lib/*.a* +%{prefix}/lib/*.la* + +%changelog +* Mon Mar 13 2000 Fabian Emmes <fab@orlen.de> +- changed "unset LINGUAS" line +- reintroduced %build section ;) +- started changelog + |