[AC] qtparted.spec
Andrzej Zawadzki
zawadaa at wp.pl
Wed Mar 3 19:38:41 CET 2004
Musiałem w notebooku zmniejszyć partycję ntfs i zapragnąłem wykorzystać
graficzny qtparted.
Tylko, że ten w cvs jest pod stare qt.
Zmieniłem trochę speca - nie znam się na tym za bardzo.
Do funkcjonalności dodałbym jeszcze zależność od:
ntfsutils
xfsutils
jfsutils
(teraz są tylko w BuildReq), a reiser jest w Req...
I nie wiem co z applink - nie wiem jak to "wsadzić" ;-)
Generalnie to działa prawie ekstra - źle mi skaluje pasek partycji.
NTFSa pomyślnie zmniejszyłem :-)
--
Andrzej Zawadzki
-------------- next part --------------
# $Revision: 1.25 $, $Date: 2004/02/08 14:35:17 $
#
# Conditional build:
%bcond_without ext3 # build without ext3 support
%bcond_without jfs # build without jfs support
%bcond_without ntfs # build without ntfs support
%bcond_without reiserfs # build without reiserfs support
%bcond_without xfs # build without xfs support
%bcond_with static # build statically linked qtparted
#
Summary: QTParted is a Partition Magic clone
Summary(pl): QTParted to klon Partition Magica
Name: qtparted
Version: 0.4.2_pre2
Release: 0.1
License: GPL v2
Vendor: Vanni Brutto <zanac at libero.it>
Group: Applications/System
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
# Source0-md5: 64f2ed6399fb3ece6263de72ff054435
URL: http://qtparted.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
%if %{with ext3}
BuildRequires: e2fsprogs
%endif
%if %{with jfs}
BuildRequires: jfsutils
%endif
%if %{with ntfs}
BuildRequires: ntfsprogs
%endif
BuildRequires: parted-devel >= 1.6.3
%if %{with static}
BuildRequires: parted-static
%endif
%if %{with reiserfs}
BuildRequires: progsreiserfs-devel >= 0.3.1
%if %{with static}
BuildRequires: progsreiserfs-static >= 0.3.1
%endif
%endif
BuildRequires: qt-devel >= 3.3.0
%if %{with reiserfs}
BuildRequires: reiserfsprogs
%endif
BuildRequires: rpm-build >= 4.3
%if %{with xfs}
BuildRequires: xfsprogs
%endif
Requires: parted >= 1.6.3
Requires: progsreiserfs >= 0.3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
QTParted is a Partition Magic clone written in C++ using the Qt
toolkit.
%description -l pl
QTParted to klon Partition Magica napisany w C++ przy użyciu toolkitu
Qt.
%prep
%setup -q
%build
%{__aclocal}
%{__autoconf}
export QMAKESPEC=%{_datadir}/qt/mkspecs/linux-g++
export PATH="$PATH:/usr/sbin:/sbin"
%configure \
%{?_without_xfs:--disable-xfs} \
%{?_without_ntfs:--disable-ntfs} \
%{?_without_ext3:--disable-ext3} \
%{?_without_jfs:--disable-jfs} \
%{?_without_reiserfs:--disable-reiserfs} \
--%{?_with_static:en}%{!?with_static:dis}able-static
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README TODO AUTHORS TODO doc
%attr(755,root,root) %{_sbindir}/*
%{_mandir}/man1/*
%{_pixmapsdir}/*
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/locale
%lang(cs) %{_datadir}/%{name}/locale/qtparted_cs.qm
%lang(de) %{_datadir}/%{name}/locale/qtparted_de.qm
%lang(es) %{_datadir}/%{name}/locale/qtparted_es.qm
%lang(fr) %{_datadir}/%{name}/locale/qtparted_fr.qm
%lang(it) %{_datadir}/%{name}/locale/qtparted_it.qm
%lang(pl) %{_datadir}/%{name}/locale/qtparted_pl.qm
%lang(ru) %{_datadir}/%{name}/locale/qtparted_ru.qm
%lang(ua) %{_datadir}/%{name}/locale/qtparted_ua.qm
%{_datadir}/%{name}/pics
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: qtparted.spec,v $
Revision 1.25 2004/02/08 14:35:17 qboosh
- BR: ac,am
Revision 1.24 2004/02/08 08:34:58 misi3k
- updated to 0.4.1
mia: man ?
Revision 1.23 2003/09/01 12:16:27 adamg
- cleaned up bconds - there were some leftovers from the old ones, now use only new style bcond
Revision 1.22 2003/08/18 08:09:31 gotar
- mass commit: cosmetics (removed trailing white spaces)
Revision 1.21 2003/06/27 11:17:29 qboosh
- finished/fixes new bconds, use find_lang
Revision 1.20 2003/06/24 22:18:52 qboosh
- missing dir, -statis BRs only conditional
Revision 1.19 2003/06/22 11:42:02 misi3k
- typo
Revision 1.18 2003/06/22 11:40:11 misi3k
- cleanup - removed patch0
Revision 1.17 2003/06/20 10:35:33 luzik
- new bconds
Revision 1.16 2003/06/19 20:10:42 adamg
- new bconds, still not finished
Revision 1.15 2003/06/19 12:55:42 adamg
- started update to 0.3.2
- added bconds
- use %%configure
- use make install
- added missing files
- release 0.1, NFY
Revision 1.14 2003/05/30 11:10:29 misi3k
- updated to 0.3.1
Revision 1.13 2003/05/28 13:01:34 malekith
- massive attack: source-md5
Revision 1.12 2003/05/25 06:26:09 misi3k
- massive attack s/pld.org.pl/pld-linux.org/
Revision 1.11 2003/05/10 14:14:17 misi3k
- updated to 0.2.3
- added conf patch
Revision 1.10 2003/05/01 15:00:04 adamg
- updated to 0.2.2: bugfixes, ntfs, jfs and ext3 support added
Revision 1.9 2003/04/24 23:53:12 misi3k
- updated to 0.2.1
- removed patch (not needed)
Revision 1.8 2003/04/19 17:16:31 adamg
- updated to 0.2.0-1
Revision 1.7 2003/04/16 17:47:35 misi3k
- cosmetics
Revision 1.6 2003/04/16 17:46:19 misi3k
-updated to 0.1.8-2
Revision 1.5 2003/04/15 08:09:55 qboosh
- BR: qt-devel not just qt
Revision 1.4 2003/04/13 22:10:37 qboosh
- fixed pl "translation"
Revision 1.3 2003/04/13 06:11:09 misi3k
- rel 0.3
- fixed perms to /usr/bin/qtparted
Revision 1.2 2003/04/12 22:29:47 misi3k
- rel 0.2
- fix BR & Req
Revision 1.1 2003/04/12 22:26:22 misi3k
- initial release
More information about the pld-devel-pl
mailing list