SPECS: partitionmanager.spec (NEW) - initial spec for KDE Partition Manager

paszczus paszczus at pld-linux.org
Fri Sep 19 09:01:14 CEST 2008


Author: paszczus                     Date: Fri Sep 19 07:01:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec for KDE Partition Manager

---- Files affected:
SPECS:
   partitionmanager.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/partitionmanager.spec
diff -u /dev/null SPECS/partitionmanager.spec:1.1
--- /dev/null	Fri Sep 19 09:01:14 2008
+++ SPECS/partitionmanager.spec	Fri Sep 19 09:01:09 2008
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+%define		state		ALPHA1
+
+Summary:	KDE Partition Manager
+Name:		partitionmanager
+Version:	1.0.0
+Release:	0.%{state}.1
+License:	GPL
+Group:		X11/Applications
+Source0:	http://dl.sourceforge.net/partitionman/%{name}-%{version}-%{state}.tar.bz2
+# Source0-md5:	621c52c4c12333515066706d21596e19
+URL:		http://
+BuildRequires:	cmake >= 2.4.8
+BuildRequires:	kde4-kdebase-devel >= 4.1.0
+BuildRequires:	libuuid-devel
+BuildRequires:	rpmbuild(macros) >= 1.293
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define         _kde_prefix     %{_prefix}
+%define         _kde_libdir     %{_libdir}
+%define         _kde_share_dir  %{_datadir}
+%define         _kde_html_dir   %{_kdedocdir}
+%define         _kde_config_dir %{_datadir}/config
+
+%description
+Easily manage disks, partitions and file systems on your KDE Desktop:
+Create, resize, move, copy, back up, restore or delete partitions.
+
+%prep
+%setup -q -n %{name}-%{version}-%{state}
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_kde_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang partitionmanager --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/partitionmanager
+%{_datadir}/apps/partitionmanager/partitionmanagerui.rc
+
+%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$
+Revision 1.1  2008/09/19 07:01:09  paszczus
+- initial spec for KDE Partition Manager
+
================================================================


More information about the pld-cvs-commit mailing list