commit ghc-htaglib for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-htaglib for openSUSE:Factory 
checked in at 2017-09-15 21:50:17

Comparing /work/SRC/openSUSE:Factory/ghc-htaglib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-htaglib.new (New)


Package is "ghc-htaglib"

Fri Sep 15 21:50:17 2017 rev:5 rq:524809 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-htaglib/ghc-htaglib.changes  2017-08-31 
20:47:52.647761195 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-htaglib.new/ghc-htaglib.changes 
2017-09-15 21:50:19.485948647 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-htaglib.spec ++
--- /var/tmp/diff_new_pack.R6osdt/_old  2017-09-15 21:50:20.969739505 +0200
+++ /var/tmp/diff_new_pack.R6osdt/_new  2017-09-15 21:50:20.969739505 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Bindings to TagLib, audio meta-data library
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
@@ -32,7 +32,6 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  libtag-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -44,7 +43,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires:   libtag-devel
@@ -73,7 +72,6 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE.md
 %dir %{_datadir}/%{pkg_name}-%{version}
 %dir %{_datadir}/%{pkg_name}-%{version}/audio-samples
@@ -81,7 +79,6 @@
 %{_datadir}/%{pkg_name}-%{version}/audio-samples/*.mp3
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog




commit ghc-htaglib for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-htaglib for openSUSE:Factory 
checked in at 2017-08-31 20:47:50

Comparing /work/SRC/openSUSE:Factory/ghc-htaglib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-htaglib.new (New)


Package is "ghc-htaglib"

Thu Aug 31 20:47:50 2017 rev:4 rq:513394 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-htaglib/ghc-htaglib.changes  2017-02-03 
17:39:12.847852090 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-htaglib.new/ghc-htaglib.changes 
2017-08-31 20:47:52.647761195 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:11 UTC 2017 - psim...@suse.com
+
+- Update to version 1.1.1.
+
+---

Old:

  htaglib-1.0.4.tar.gz
  htaglib.cabal

New:

  htaglib-1.1.1.tar.gz



Other differences:
--
++ ghc-htaglib.spec ++
--- /var/tmp/diff_new_pack.9RsVG7/_old  2017-08-31 20:47:53.679616358 +0200
+++ /var/tmp/diff_new_pack.9RsVG7/_new  2017-08-31 20:47:53.679616358 +0200
@@ -19,18 +19,18 @@
 %global pkg_name htaglib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.0.4
+Version:1.1.1
 Release:0
 Summary:Bindings to TagLib, audio meta-data library
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-transformers-devel
 BuildRequires:  libtag-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
@@ -56,7 +56,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -83,5 +82,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc CHANGELOG.md README.md
 
 %changelog

++ htaglib-1.0.4.tar.gz -> htaglib-1.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/htaglib-1.0.4/CHANGELOG.md 
new/htaglib-1.1.1/CHANGELOG.md
--- old/htaglib-1.0.4/CHANGELOG.md  2016-09-10 12:48:20.0 +0200
+++ new/htaglib-1.1.1/CHANGELOG.md  2017-05-22 16:18:11.0 +0200
@@ -1,3 +1,12 @@
+## HTagLib 1.1.1
+
+* Improved/updated documentation and metadata.
+
+## HTagLib 1.1.0
+
+* Made `getTags`, `getTags'`, `setTags`, and `setTags'` callable from any
+  instance of `MonadIO`, not only `IO`.
+
 ## HTagLib 1.0.4
 
 * Re-wrote the test suite with Hspec.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/htaglib-1.0.4/LICENSE.md new/htaglib-1.1.1/LICENSE.md
--- old/htaglib-1.0.4/LICENSE.md2016-01-03 12:19:32.0 +0100
+++ new/htaglib-1.1.1/LICENSE.md2017-01-27 21:18:50.0 +0100
@@ -1,4 +1,4 @@
-Copyright © 2015–2016 Mark Karpov
+Copyright © 2015–2017 Mark Karpov
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/htaglib-1.0.4/README.md new/htaglib-1.1.1/README.md
--- old/htaglib-1.0.4/README.md 2016-04-12 10:43:20.0 +0200
+++ new/htaglib-1.1.1/README.md 2017-05-22 15:47:10.0 +0200
@@ -8,6 +8,7 @@
 [![Coverage 
Status](https://coveralls.io/repos/mrkkrp/htaglib/badge.svg?branch=master=github)](https://coveralls.io/github/mrkkrp/htaglib?branch=master)
 
 * [Alternatives](#alternatives)
+* [A note for FLAC users](#a-note-for-flac-users)
 * [Quick start](#quick-start)
 * [Reading meta data](#reading-meta-data)
 * [Writing meta data](#writing-meta-data)
@@ -15,8 +16,7 @@
 * [License](#license)
 
 This is Haskell bindings to [TagLib](https://taglib.github.io/), library for
-reading and editing meta-data of several popular audio formats. This library
-is easy to use and type-safe.
+reading and editing meta-data of several popular audio formats.
 
 It works with the following formats:
 
@@ -30,7 +30,7 @@
 * MP4
 * ASF
 
-This happens in abstract, uniform way, so you don't need to handle any
+This happens in an abstract, uniform way, so you don't need to handle any
 low-level details. As a consequence, it's currently not possible to work
 with format-specific functionality.
 
@@ -45,12 +45,20 @@
 abstractions, not really type-safe. I personally don't want to use them, so
 I wrote this.
 
+## A note for FLAC users
+
+If you want to work with FLAC, there is
+a [complete Haskell binding](https://github.com/mrkkrp/flac) to
+`libFLAC`—reference FLAC 

commit ghc-htaglib for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package ghc-htaglib for openSUSE:Factory 
checked in at 2017-01-31 12:44:15

Comparing /work/SRC/openSUSE:Factory/ghc-htaglib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-htaglib.new (New)


Package is "ghc-htaglib"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-htaglib/ghc-htaglib.changes  2016-11-10 
13:21:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-htaglib.new/ghc-htaglib.changes 
2017-02-03 17:39:12.847852090 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 09:44:45 UTC 2017 - psim...@suse.com
+
+- Update to version 1.0.4 revision 1 with cabal2obs.
+
+---

New:

  htaglib.cabal



Other differences:
--
++ ghc-htaglib.spec ++
--- /var/tmp/diff_new_pack.PkTER2/_old  2017-02-03 17:39:13.127812465 +0100
+++ /var/tmp/diff_new_pack.PkTER2/_new  2017-02-03 17:39:13.127812465 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-htaglib
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -81,6 +83,5 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc CHANGELOG.md README.md
 
 %changelog

++ htaglib.cabal ++
--
-- Cabal config for HTagLib.
--
-- Copyright © 2015–2016 Mark Karpov
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright notice,
--   this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright
--   notice, this list of conditions and the following disclaimer in the
--   documentation and/or other materials provided with the distribution.
--
-- * Neither the name Mark Karpov nor the names of contributors may be used
--   to endorse or promote products derived from this software without
--   specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY
-- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
-- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.

name:htaglib
version: 1.0.4
x-revision: 1
cabal-version:   >= 1.10
license: BSD3
license-file:LICENSE.md
author:  Mark Karpov 
maintainer:  Mark Karpov 
homepage:https://github.com/mrkkrp/htaglib
bug-reports: https://github.com/mrkkrp/htaglib/issues
category:Sound, Foreign
synopsis:Bindings to TagLib, audio meta-data library
build-type:  Simple
description: Bindings to TagLib, audio meta-data library.
extra-doc-files: CHANGELOG.md
   , README.md
   , audio-samples/README.md
data-files:  audio-samples/*.flac
   , audio-samples/*.mp3

flag dev
  description:   Turn on development settings.
  manual:True
  default:   False

library
  build-depends: base   >= 4.7 && < 5.0
   , bytestring >= 0.9 && < 0.11
   , text   >= 1.0 && < 1.3
  extra-libraries:   tag_c
  exposed-modules:   Sound.HTagLib
   , Sound.HTagLib.Type
   , Sound.HTagLib.Getter
   , Sound.HTagLib.Setter
  

commit ghc-htaglib for openSUSE:Factory

2016-11-10 Thread h_root
Hello community,

here is the log from the commit of package ghc-htaglib for openSUSE:Factory 
checked in at 2016-11-10 13:21:52

Comparing /work/SRC/openSUSE:Factory/ghc-htaglib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-htaglib.new (New)


Package is "ghc-htaglib"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-htaglib/ghc-htaglib.changes  2016-11-01 
09:55:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-htaglib.new/ghc-htaglib.changes 
2016-11-10 13:21:54.0 +0100
@@ -1,0 +2,5 @@
+Thu Sep 15 06:58:10 UTC 2016 - psim...@suse.com
+
+- Update to version 1.0.4 revision 0 with cabal2obs.
+
+---

Old:

  htaglib-1.0.3.tar.gz

New:

  htaglib-1.0.4.tar.gz



Other differences:
--
++ ghc-htaglib.spec ++
--- /var/tmp/diff_new_pack.t1EqDx/_old  2016-11-10 13:21:54.0 +0100
+++ /var/tmp/diff_new_pack.t1EqDx/_new  2016-11-10 13:21:54.0 +0100
@@ -19,28 +19,24 @@
 %global pkg_name htaglib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.0.3
+Version:1.0.4
 Release:0
 Summary:Bindings to TagLib, audio meta-data library
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  libtag-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
-BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
-BuildRequires:  ghc-test-framework-devel
-BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Bindings to TagLib, audio meta-data library.
@@ -50,11 +46,9 @@
 Group:  Development/Libraries/Other
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
-# Begin cabal-rpm deps:
 Requires:   libtag-devel
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-# End cabal-rpm deps
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
@@ -62,20 +56,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache
@@ -86,6 +74,10 @@
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE.md
+%dir %{_datadir}/%{pkg_name}-%{version}
+%dir %{_datadir}/%{pkg_name}-%{version}/audio-samples
+%{_datadir}/%{pkg_name}-%{version}/audio-samples/*.flac
+%{_datadir}/%{pkg_name}-%{version}/audio-samples/*.mp3
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)

++ htaglib-1.0.3.tar.gz -> htaglib-1.0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/htaglib-1.0.3/CHANGELOG.md 
new/htaglib-1.0.4/CHANGELOG.md
--- old/htaglib-1.0.3/CHANGELOG.md  2016-04-06 14:42:14.0 +0200
+++ new/htaglib-1.0.4/CHANGELOG.md  2016-09-10 12:48:20.0 +0200
@@ -1,3 +1,9 @@
+## HTagLib 1.0.4
+
+* Re-wrote the test suite with Hspec.
+
+* Drop support for GHC 7.6.
+
 ## HTagLib 1.0.3
 
 * Export functions instead of record selectors for tag newtype wrappers.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/htaglib-1.0.3/README.md new/htaglib-1.0.4/README.md
--- old/htaglib-1.0.3/README.md 2016-01-22 08:18:07.0 +0100
+++ new/htaglib-1.0.4/README.md 2016-04-12 10:43:20.0 +0200
@@ -128,13 +128,13 @@
 ```
 $ ./example "/home/mark/music/David Bowie/1977, Low/01 Speed of Life.flac"
 AudioTrack
-  { atTitle   = Title   {unTitle   = "Speed of Life"}
-  , atArtist  = Artist  {unArtist  = "David Bowie"}
-  , atAlbum   = Album   {unAlbum   = "Low"}
-  , atComment = Comment {unComment = ""}
-  , atGenre   = Genre   {unGenre   = ""}
-  , atYear= Just(Year {unYear = 1977})
-  , atTrack   = Just(TrackNumber {unTrackNumber = 1})
+  { atTitle   = Title   "Speed of Life"
+  , atArtist  = Artist  "David Bowie"
+  , atAlbum   = Album   "Low"
+  , atComment = Comment ""
+  , atGenre   = Genre   ""
+  , atYear= Just(Year 1977)
+  , atTrack   = Just(TrackNumber 1)
   }
 ```
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore'