[AtomicParsley/f20] Updating to upstream version by new people on new code repository.

aviram aviram at fedoraproject.org
Thu Jan 30 10:31:50 UTC 2014


commit 8f5db746f4416d71ee24f70accf40c4fafffe1c7
Author: Avi Alkalay <avibrazil at gmail.com>
Date:   Wed Jan 29 20:43:43 2014 -0200

    Updating to upstream version by new people on new code repository.

 .gitignore                       |    1 +
 AtomicParsley-fix_bad_math.patch |   63 --------------------------------------
 AtomicParsley.spec               |   42 ++++++++++---------------
 sources                          |    2 +-
 4 files changed, 19 insertions(+), 89 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a980d49..9af9e18 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /AtomicParsley-source-0.9.0.zip
+/AtomicParsley-0.9.5.tar.gz
diff --git a/AtomicParsley.spec b/AtomicParsley.spec
index 5d8d371..581cca6 100644
--- a/AtomicParsley.spec
+++ b/AtomicParsley.spec
@@ -1,12 +1,14 @@
 Summary:   Command-line program to read and set MPEG-4 tags compatible with iPod/iTunes 
 URL:       http://atomicparsley.sourceforge.net/
 Name:      AtomicParsley
-Version:   0.9.0
-Release:   13%{?dist}
+Version:   0.9.5
+Release:   1%{?dist}
 License:   GPLv2+
 Group:     Applications/Multimedia
-Source0:   http://downloads.sourceforge.net/project/atomicparsley/atomicparsley/%{name}%20v%{version}/%{name}-source-%{version}.zip
-Patch0:    %{name}-fix_bad_math.patch
+Source0:   https://bitbucket.org/wez/atomicparsley/overview/%{name}-%{version}.tar.gz
+#Patch0:    %{name}-fix_bad_math.patch
+BuildRequires: autoconf
+BuildRequires: automake
 
 
 
@@ -23,37 +25,27 @@ tags and meta-data into MPEG-4 files supporting these styles of meta-data:
 
 
 %prep
-# The source zip file includes a top level directory called __MACOSX which doesn't
-# get removed by %%clean, so in a multiple RPM build scenario this directory will
-# not get removed, making a subsequent RPM build fails in the unzipping process.
-# We will (try to) remove this useless leftover directory and the new one that
-# will be generated by unzipping right now to avoid problems in subsequent RPM
-# builds of the same package and to keep the build directory clean.
-rm -rf __MACOSX
-%setup -q -n "%{name}-source-%{version}"
-rm -rf ../__MACOSX
-chmod a-x *.cpp *.h
-%patch0
-
-sed -i 's/-O2/$OPTFLAGS/g;' build
-sed -i 's/g++/$CXX/g;' build
-sed -i '1aset -e' build
+%setup -q
 
 %build
-CXX="%__cxx" \
-OPTFLAGS="%{optflags} -Wall -Wno-parentheses -Wno-unused-result -Wno-write-strings -Wno-deprecated -fno-strict-aliasing" \
-./build
+./autogen.sh
+%configure --prefix=%{_prefix}
+#OPTFLAGS="%{optflags} -Wall -Wno-parentheses -Wno-unused-result -Wno-write-strings -Wno-deprecated -fno-strict-aliasing" \
+make %{?_smp_mflags}
 
 %install
-install -D -m0755 AtomicParsley "%{buildroot}%{_bindir}/AtomicParsley"
+make install install DESTDIR=%{buildroot} BINDIR=%{_bindir}
+#install -D -m0755 AtomicParsley "%{buildroot}%{_bindir}/AtomicParsley"
 
 
 %files
-
-%doc COPYING "AP buglist.txt" "Using AtomicParsley.rtf"
+%doc COPYING Changes.txt tools/iTunMOVI-1.1.pl
 %{_bindir}/AtomicParsley
 
 %changelog
+* Wed Jan 29 2014 Avi Alkalay <avi at unix.sh> 0.9.5-1
+- Updated from new upstream on https://bitbucket.org/wez/atomicparsley
+
 * Tue Jan 28 2014 Avi Alkalay <avi at unix.sh> 0.9.0-13
 - Reduced warnings
 - Adapted SPEC to build on Fedora 20
diff --git a/sources b/sources
index 54349f7..c7bab08 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-681e6ecec2921c98e07a9262bdcd6cf2  AtomicParsley-source-0.9.0.zip
+523289cca4a584614c38249052ed12f5  AtomicParsley-0.9.5.tar.gz


More information about the scm-commits mailing list