rdieter pushed to kio_mtp (f21). "20141221 snapshot, include translations, .spec cleanup"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Apr 3 14:08:12 UTC 2015
>From 9cef485cfa8fc533735f67fd7b0648b7132b4c17 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Sat, 10 Jan 2015 14:13:56 -0600
Subject: 20141221 snapshot, include translations, .spec cleanup
diff --git a/.gitignore b/.gitignore
index 3b71d06..c2efe66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1 @@
-/kio_mtp-0.70-gitfae62fc.tar.gz
-/kio_mtp-0.70-git7de86ba.tar.gz
-/kio_mtp-0.75-git1bcd508.tar.gz
-/kio_mtp-0.75-gitcc6b195.tar.gz
-/kio_mtp-0.75-git2063e75.tar.gz
+/kio-mtp-0.75-20141221.tar.xz
diff --git a/kio_mtp.spec b/kio_mtp.spec
index c4f2742..c1651f9 100644
--- a/kio_mtp.spec
+++ b/kio_mtp.spec
@@ -1,18 +1,17 @@
-%global git_commit 2063e75
+%define git_commit c418634
+%define snap 20141221
+
Name: kio_mtp
Version: 0.75
-Release: 6.20131020git%{git_commit}%{?dist}
+Release: 7.%{snap}git%{git_commit}%{?dist}
Summary: An MTP KIO slave for KDE
-Group: System Environment/Libraries
License: GPLv2+
URL: https://projects.kde.org/projects/playground/base/kio-mtp
-# Package from git snapshots, create example:
-# git clone git://anongit.kde.org/kio-mtp.git
-# cd kio-mtp
-# git archive --prefix=kio_mtp-%{version}/ master | gzip > ../%{name}-%{version}-git%{git_commit}.tar.gz
-Source0: %{name}-%{version}-git%{git_commit}.tar.gz
+# use releaseme
+Source0: kio-mtp-%{version}-%{snap}.tar.xz
+BuildRequires: gettext
BuildRequires: kdelibs4-devel
BuildRequires: libmtp-devel
@@ -20,10 +19,11 @@ BuildRequires: libmtp-devel
Provides KIO Access to MTP devices using the mtp:/// protocol.
%prep
-%setup -q
+%setup -n kio-mtp-%{version}
+
%build
-mkdir -p %{_target_platform}
+mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
@@ -32,13 +32,12 @@ make %{?_smp_mflags} -C %{_target_platform}
%install
-rm -rf %{buildroot}
-
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%find_lang kio_mtp --with-kde
-%files
-%defattr(-,root,root,-)
+
+%files -f kio_mtp.lang
%doc README LICENCE
%{_kde4_libdir}/kde4/kio_mtp.so
%{_kde4_datadir}/kde4/services/mtp.protocol
@@ -48,6 +47,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
+* Sat Jan 10 2015 Rex Dieter <rdieter at fedoraproject.org> 0.75-7.20141221gitc418634
+- 20141221 snapshot, include translations, .spec cleanup
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.75-6.20131020git2063e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 0ee1b0a..ddc00ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-232e26996844307fcf7886154d8501af kio_mtp-0.75-git2063e75.tar.gz
+8344b56038a3e491807aef205eafb0f4 kio-mtp-0.75-20141221.tar.xz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/kio_mtp.git/commit/?h=f21&id=9cef485cfa8fc533735f67fd7b0648b7132b4c17
More information about the scm-commits
mailing list