[kdesrc-build] - Initial import

brummbq brummbq at fedoraproject.org
Thu Jun 7 13:08:10 UTC 2012


commit cefa4304955da8d9a3a857479e62a2f2a3bc1e24
Author: Gregor Tätzner <gregor at freenet.de>
Date:   Thu Jun 7 15:07:43 2012 +0200

    - Initial import

 .gitignore                      |    1 +
 kdesrc-build-desktop-file.patch |    9 ++++
 kdesrc-build.spec               |   89 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 4 files changed, 100 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..10cd8bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kdesrc-build-1.15.1.tar.xz
diff --git a/kdesrc-build-desktop-file.patch b/kdesrc-build-desktop-file.patch
new file mode 100644
index 0000000..da657b0
--- /dev/null
+++ b/kdesrc-build-desktop-file.patch
@@ -0,0 +1,9 @@
+--- doc/kdesrc-build.desktop.orig	2012-05-05 11:31:45.243137970 +0200
++++ doc/kdesrc-build.desktop	2012-05-05 11:32:02.573473402 +0200
+@@ -1,5 +1,6 @@
+ # KDE Config File
+ [Desktop Entry]
++Type=Application
+ X-DocPath=kdesrc-build/index.html
+ Name=KDE Source Builder
+ Name[ca]=Compilació del codi font del KDE
diff --git a/kdesrc-build.spec b/kdesrc-build.spec
new file mode 100644
index 0000000..4457478
--- /dev/null
+++ b/kdesrc-build.spec
@@ -0,0 +1,89 @@
+
+Name:           kdesrc-build
+Version:        1.15.1
+Release:        2%{?dist}
+Summary:        A tool to easily build KDE from its source repositories
+
+License:        GPLv2+ and LGPLv3+ and BSD and GFDL
+URL:            http://kdesrc-build.kde.org/
+Source0:        ftp://ftp.kde.org/pub/kde/stable/kdesrc-build/1.15.1/src/%{name}-%{version}.tar.xz
+
+# add missing key "Type"
+Patch0:         %{name}-desktop-file.patch
+
+BuildRequires:  perl-Test-Simple
+BuildRequires:  perl-libwww-perl
+BuildRequires:  perl-XML-Parser
+BuildRequires:  desktop-file-utils
+BuildRequires:  kdelibs4-devel
+
+BuildArch:      noarch
+
+
+%description
+kdesrc-build is a script to help users install KDE software from its Subversion
+and Git source repositories. It used to be called kdesvn-build, the name was
+changed to this more generic form in June 2010 when KDE started adopting
+git-based source control.
+
+
+%prep
+%setup -q
+
+%patch0
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ..
+popd
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%check
+./kdesrc-build-test.pl --full-run
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+install -pm 755 %{name} %{buildroot}%{_bindir}
+install -pm 755 %{name}-setup %{buildroot}%{_bindir}
+
+desktop-file-install --dir %{buildroot}%{_kde4_datadir}/applications/kde4 doc/%{name}.desktop
+
+
+%files
+%doc README LICENSE AUTHORS %{name}rc-sample COPYING.LIB doc/COPYING.DOC
+
+%{_bindir}/%{name}
+%{_bindir}/%{name}-setup
+
+%{_kde4_datadir}/applications/kde4/%{name}.desktop
+
+%{_kde4_appsdir}/katepart/syntax/%{name}rc.xml
+
+%{_docdir}/HTML/*/%{name}
+
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}-setup.1.gz
+
+
+%changelog
+* Mon Jun 04 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1.15.1-2
+- fix source url
+
+* Tue May 22 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1.15.1-1
+- Version bump.
+- switch to xz compressed source archive
+
+* Mon May 07 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1.14.1-2
+- remove icon cache scriptlets
+- move test to %check section
+- add COPYING.LIB
+- shorten summary
+
+* Sat May 05 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1.14.1-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..ced877c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9469a5fcc585e0f37cc295b44a0d36e1  kdesrc-build-1.15.1.tar.xz


More information about the scm-commits mailing list