[libnotifymm] upstream 0.7.0

Haïkel Guémar hguemar at fedoraproject.org
Wed Aug 7 00:25:26 UTC 2013


commit 6994e0aa28fb0edeadca545298ff16a37b8ba16f
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date:   Wed Aug 7 02:23:34 2013 +0200

    upstream 0.7.0
    
    fix unversionned docdir (RHBZ #993820)
    refresh spec

 .gitignore                          |    1 +
 libnotifymm-0.6.1-bodgenewapi.patch |   27 ---------------------
 libnotifymm-0.6.1-pkgconfig.patch   |   11 --------
 libnotifymm.spec                    |   44 ++++++++++++++--------------------
 sources                             |    2 +-
 5 files changed, 20 insertions(+), 65 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 53bc0c5..1909cdc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 libnotifymm-0.6.1.tar.bz2
+/libnotifymm-0.7.0.tar.xz
diff --git a/libnotifymm.spec b/libnotifymm.spec
index 4e97491..83bff06 100644
--- a/libnotifymm.spec
+++ b/libnotifymm.spec
@@ -1,22 +1,18 @@
 %define apiver 1.0
-%define docdeveldir %{_docdir}/%{name}-devel-%{version}
 
 Name:           libnotifymm
-Version:        0.6.1
-Release:        14%{?dist}
+Version:        0.7.0
+Release:        1%{?dist}
 Summary:        C++ interface for libnotify
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://www.gtkmm.org/
-Source0:        http://ftp.gnome.org/pub/GNOME/sources/libnotifymm/0.6/%{name}-%{version}.tar.bz2
-Patch1:         libnotifymm-0.6.1-pkgconfig.patch
-Patch2:         libnotifymm-0.6.1-bodgenewapi.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  glibmm24-devel >= 2.12.8
-BuildRequires:  gtkmm24-devel >= 2.10
-BuildRequires:  libnotify-devel >= 0.4.3
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/libnotifymm/0.6/%{name}-%{version}.tar.xz
+
+BuildRequires:  glibmm24-devel >= 2.28.0
+BuildRequires:  gtkmm30-devel >= 3.4.1
+BuildRequires:  libnotify-devel >= 0.7.5
 BuildRequires:  doxygen graphviz
 
 
@@ -43,8 +39,6 @@ developing %{name} applications.
 
 %prep
 %setup -q
-%patch1 -p1 -b .pkgconfig
-%patch2 -p2 -b .bodgenewapi
 
 
 %build
@@ -54,16 +48,11 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" \
-        referencedir=%{docdeveldir}/html
-find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+make install DESTDIR=%buildroot INSTALL="install -p" \
+        referencedir=%{_pkgdocdir}/html
+find %buildroot -type f -name "*.la" -exec rm -f {} ';'
 # Remove code-generation related files
-rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}-%{apiver}
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %buildroot%{_libdir}/%{name}-%{apiver}
 
 
 %post -p /sbin/ldconfig
@@ -73,20 +62,23 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-, root, root, -)
 %doc AUTHORS ChangeLog COPYING NEWS README
 %{_libdir}/*.so.*
 
 
 %files devel
-%defattr(-, root, root, -)
-%doc %{docdeveldir}
+%{_pkgdocdir}
 %{_includedir}/%{name}-%{apiver}
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
-
+%{_datadir}/devhelp/books/%{name}-1.0
 
 %changelog
+* Tue Aug 06 2013 Haïkel Guémar <hguemar at fedoraproject.org> - 0.7.0-1
+- upstream 0.7.0
+- refresh spec
+- fix unversionned docdir (RHBZ #993820)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.1-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 3bf21e6..a067f32 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e7943688768aed3c695b1643448274c5  libnotifymm-0.6.1.tar.bz2
+29c675a899da3fbd4395c7333ee9bfbe  libnotifymm-0.7.0.tar.xz


More information about the scm-commits mailing list