[kfloppy] import

Rex Dieter rdieter at fedoraproject.org
Tue Dec 20 12:12:48 UTC 2011


commit 307587b4c9b3861eb9594863e79258692593d28b
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Tue Dec 20 06:12:38 2011 -0600

    import

 .gitignore   |    1 +
 kfloppy.spec |   76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2f7e78a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kfloppy-4.7.90.tar.bz2
diff --git a/kfloppy.spec b/kfloppy.spec
new file mode 100644
index 0000000..f7dcab0
--- /dev/null
+++ b/kfloppy.spec
@@ -0,0 +1,76 @@
+
+Name: kfloppy
+Summary: Floppy formatting tool 
+Version: 4.7.90
+Release: 1%{?dist}
+
+License: GPLv2+
+#URL:     https://projects.kde.org/projects/kde/kdeutils/%{name}
+URL:     http://utils.kde.org/projects/%{name}
+Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
+
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+# when split occured
+Conflicts: kdeutils-common < 6:4.7.80
+
+Obsoletes: kdeutils-kfloppy < 6:4.7.80
+Provides:  kdeutils-kfloppy = 6:%{version}-%{release}
+
+%{?_kde4:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}
+
+
+%description
+KFloppy is a utility that provides a straightforward graphical means
+to format 3.5" and 5.25" floppy disks.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --with-kde --without-mo
+
+
+%check
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/KFloppy.desktop
+
+%post
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+
+%posttrans
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
+fi
+
+%files -f %{name}.lang
+%doc COPYING README
+%{_kde4_bindir}/kfloppy
+%{_kde4_datadir}/applications/kde4/KFloppy.desktop
+%{_kde4_iconsdir}/hicolor/*/apps/kfloppy.*
+
+
+%changelog
+* Thu Dec 08 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.90-1
+- 4.7.90
+
+* Sat Nov 26 2011 Rex Dieter <rdieter at fedoraproject.org> 4.7.80-1
+- first try
+
diff --git a/sources b/sources
index e69de29..8bae5bb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+328881dbd2302b89cb843f951dc94093  kfloppy-4.7.90.tar.bz2


More information about the scm-commits mailing list