remove the deprecated spectacle file
authorJF Ding <jian-feng.ding@intel.com>
Wed, 7 Mar 2012 02:57:12 +0000 (10:57 +0800)
committerJF Ding <jian-feng.ding@intel.com>
Wed, 7 Mar 2012 02:57:12 +0000 (10:57 +0800)
distfiles/mic.spec
distfiles/mic.yaml [deleted file]

index 6880be6..be86e4f 100644 (file)
@@ -1,10 +1,3 @@
-# 
-# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.23
-# 
-# >> macros
-# << macros
-
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 Name:       mic
 Summary:    Image Creator for Linux Distributions
@@ -15,18 +8,21 @@ License:    GPLv2
 BuildArch:  noarch
 URL:        http://www.tizen.org
 Source0:    %{name}-%{version}.tar.gz
-Source100:  mic.yaml
 Requires:   util-linux
 Requires:   coreutils
 Requires:   python >= 2.5
 Requires:   e2fsprogs
 Requires:   dosfstools >= 2.11-8
 Requires:   yum >= 3.2.24
+%if 0%{?suse_version} == 1210
+Requires:   syslinux == 4.04.1
+%else
 Requires:   syslinux >= 3.82
+%endif
 Requires:   kpartx
 Requires:   parted
 Requires:   device-mapper
-Requires:   /usr/bin/mkisofs
+Requires:   /usr/bin/genisoimage
 Requires:   cpio
 Requires:   isomd5sum
 Requires:   gzip
@@ -38,8 +34,8 @@ Requires:   btrfsprogs
 Requires:   btrfs-progs
 %endif
 
-%if 0%{?fedora_version}
-Requires:   m2crypto 
+%if 0%{?fedora_version} || "0%{?meego_version}" != "0"
+Requires:   m2crypto
 %else
 %if 0%{?suse_version} == 1210
 Requires:   python-M2Crypto
@@ -58,7 +54,6 @@ Requires:   python-zypp == 0.5.50
 Requires:   python-zypp >= 0.5.9.1
 %endif
 BuildRequires:  python-devel
-Conflicts:   mic2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 
@@ -70,46 +65,29 @@ convert an image to a specified type; subcommand chroot is used to chroot into
 an image.
 
 
-
-
 %prep
 %setup -q -n %{name}-%{version}
 
-# >> setup
-# << setup
 
 %build
-# >> build pre
-# << build pre
-
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 
-# >> build post
-# << build post
+
 %install
 rm -rf $RPM_BUILD_ROOT
-# >> install pre
-# << install pre
 %if 0%{?suse_version}
 %{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
 %else
 %{__python} setup.py install --root=$RPM_BUILD_ROOT -O1
 %endif
 
-# >> install post
 # install man page
 mkdir -p %{buildroot}/%{_prefix}/share/man/man1
 install -m644 doc/mic.1 %{buildroot}/%{_prefix}/share/man/man1
-# << install post
-
-
-
-
 
 
 %files
 %defattr(-,root,root,-)
-# >> files
 %doc README.rst
 %{_mandir}/man1/*
 %dir %{_sysconfdir}/%{name}
@@ -118,6 +96,3 @@ install -m644 doc/mic.1 %{buildroot}/%{_prefix}/share/man/man1
 %dir %{_prefix}/lib/%{name}
 %{_prefix}/lib/%{name}/*
 %{_bindir}/*
-# << files
-
-
diff --git a/distfiles/mic.yaml b/distfiles/mic.yaml
deleted file mode 100644 (file)
index 12628b4..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-Name: mic
-Summary: Image Creator for Linux Distributions
-Version: 0.7
-Release: 1
-Group: System/Base
-License: GPLv2
-URL: http://www.tizen.org
-Description: |
-    The tool mic is used to create and manipulate images for Linux distributions.
-    It is composed of three subcommand\: create, convert, chroot. Subcommand create
-    is used to create images with different types; subcommand convert is used to
-    convert an image to a specified type; subcommand chroot is used to chroot into
-    an image.
-
-Sources:
-    - "%{name}-%{version}.tar.gz"
-Builder: python
-BuildArch: noarch
-SupportOtherDistros: yes
-
-Conflicts:
-    - mic2
-
-Requires:
-    - util-linux
-    - coreutils
-    - python >= 2.5
-    - e2fsprogs
-    - dosfstools >= 2.11-8
-    - yum >= 3.2.24
-    - syslinux >= 3.82
-    - kpartx
-    - parted
-    - device-mapper
-    - /usr/bin/mkisofs
-    - cpio
-    - isomd5sum
-    - gzip
-    - bzip2
-    - squashfs-tools >= 4.0
-    - btrfs-progs
-    - python-zypp >= 0.5.7
-
-PkgBR:
-    - python-devel