packages: glabels/glabels.spec - updated to 3.0.0 - added -link.patch; remo...
megabajt
megabajt at pld-linux.org
Sun Jul 24 17:54:30 CEST 2011
Author: megabajt Date: Sun Jul 24 15:54:30 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 3.0.0
- added -link.patch; removed obsolete -desktop.patch
---- Files affected:
packages/glabels:
glabels.spec (1.42 -> 1.43)
---- Diffs:
================================================================
Index: packages/glabels/glabels.spec
diff -u packages/glabels/glabels.spec:1.42 packages/glabels/glabels.spec:1.43
--- packages/glabels/glabels.spec:1.42 Wed Oct 6 12:42:06 2010
+++ packages/glabels/glabels.spec Sun Jul 24 17:54:24 2011
@@ -2,39 +2,40 @@
Summary: gLabels - a GNOME program to create labels and business cards
Summary(pl.UTF-8): gLabels - program dla GNOME do tworzenia etykiet i wizytówek
Name: glabels
-Version: 2.2.8
-Release: 2
-License: GPL
+Version: 3.0.0
+Release: 1
+License: GPL v3
Group: X11/Applications/Graphics
-Source0: http://ftp.gnome.org/pub/GNOME/sources/glabels/2.2/%{name}-%{version}.tar.bz2
-# Source0-md5: 8e0ac4b19de68d55e33aef6a5544f0e5
-Patch0: %{name}-desktop.patch
-URL: http://glabels.sourceforge.net/
-BuildRequires: autoconf >= 2.52
+Source0: http://ftp.gnome.org/pub/GNOME/sources/glabels/3.0/%{name}-%{version}.tar.bz2
+# Source0-md5: 823531d597a5483c30486f1b22ee07bf
+Patch0: %{name}-link.patch
+URL: http://www.glabels.org/
+BuildRequires: autoconf >= 2.64
BuildRequires: automake
+BuildRequires: barcode-devel >= 0.98
BuildRequires: docbook-dtd412-xml
-BuildRequires: evolution-data-server-devel >= 1.2
+BuildRequires: evolution-data-server-devel >= 3.0.0
BuildRequires: gettext-devel
-BuildRequires: glib2-devel >= 1:2.12.0
+BuildRequires: glib2-devel >= 1:2.28.2
BuildRequires: gnome-common >= 2.8.0
BuildRequires: gnome-doc-utils
-BuildRequires: gtk+2-devel >= 2.10.0
+BuildRequires: gtk+3-devel >= 3.0.9
BuildRequires: gtk-doc >= 1.0
-BuildRequires: intltool >= 0.21
-BuildRequires: libbonobo-devel >= 2.8.1
-BuildRequires: libglade2-devel >= 1:2.6.0
-BuildRequires: libgnomeui-devel >= 2.16.0
+BuildRequires: iec16022-devel >= 0.2.4
+BuildRequires: intltool >= 0.40.0
+BuildRequires: librsvg-devel >= 2.32.0
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.7.0
+BuildRequires: libxml2-devel >= 1:2.7.8
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(find_lang) >= 1.23
-BuildRequires: rpmbuild(macros) >= 1.197
-BuildRequires: scrollkeeper
-BuildRequires: sed >= 4.0
+BuildRequires: qrencode-devel >= 3.1.0
+BuildRequires: rpmbuild(macros) >= 1.592
+BuildRequires: zint-devel >= 2.4.0
+Requires(post,postun): glib2 >= 1:2.26.0
Requires(post,postun): desktop-file-utils
-Requires(post,postun): scrollkeeper
Requires(post,postun): shared-mime-info
+Requires(post,postun): gtk-update-icon-cache
Requires: %{name}-libs = %{version}-%{release}
+Requires: hicolor-icon-theme
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -48,6 +49,7 @@
%package libs
Summary: glabels shared libraries
Summary(pl.UTF-8): Biblioteki współdzielone glabels
+License: LGPL v3
Group: Libraries
%description libs
@@ -59,10 +61,12 @@
%package devel
Summary: Header files for glabels
Summary(pl.UTF-8): Pliki nagłówkowe glabels
+License: LGPL v3
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: glib2-devel >= 1:2.12.0
-Requires: libxml2-devel >= 1:2.7.0
+Requires: glib2-devel >= 1:2.28.2
+Requires: libxml2-devel >= 1:2.7.8
+Requires: pango-devel
%description devel
Header files for glabels.
@@ -73,6 +77,7 @@
%package static
Summary: glabels static library
Summary(pl.UTF-8): Statyczna biblioteka glabels
+License: LGPL v3
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
@@ -100,19 +105,19 @@
%build
%{__glib_gettextize}
-%{__libtoolize}
-%{__intltoolize}
%{__gnome_doc_common}
%{__gtkdocize}
+%{__intltoolize}
+%{__libtoolize}
%{__aclocal}
%{__autoheader}
-%{__automake}
%{__autoconf}
+%{__automake}
%configure \
+ --disable-silent-rules \
+ --disable-schemas-compile \
--enable-gtk-doc \
- --with-html-dir=%{_gtkdocdir} \
- --disable-update-desktopdb \
- --disable-update-mimedb
+ --with-html-dir=%{_gtkdocdir}
%{__make}
@@ -122,57 +127,66 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
-%find_lang %{name} --with-gnome --with-omf
+%find_lang %{name}-3.0 --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%scrollkeeper_update_post
%update_desktop_database_post
%update_mime_database
+%update_icon_cache hicolor
+%glib_compile_schemas
%postun
-%scrollkeeper_update_postun
%update_desktop_database_postun
%update_mime_database
+%update_icon_cache hicolor
+%glib_compile_schemas
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
-%files -f %{name}.lang
+%files -f %{name}-3.0.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/glabels
-%attr(755,root,root) %{_bindir}/glabels-batch
-%{_datadir}/%{name}
-%{_datadir}/mime/packages/glabels.xml
+%attr(755,root,root) %{_bindir}/glabels-3
+%attr(755,root,root) %{_bindir}/glabels-3-batch
+%{_datadir}/glabels-3.0
+%{_datadir}/glib-2.0/schemas/org.gnome.glabels-3.gschema.xml
+%{_datadir}/mime/packages/glabels-3.0.xml
%{_mandir}/man1/*.1*
-%{_pixmapsdir}/%{name}
-%{_pixmapsdir}/*.png
-%{_desktopdir}/*.desktop
+%{_desktopdir}/glabels-3.0.desktop
+%{_iconsdir}/hicolor/*/*/*.png
%files libs
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libglabels.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libglabels.so.5
+%attr(755,root,root) %{_libdir}/libglabels-3.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libglabels-3.0.so.8
+%attr(755,root,root) %{_libdir}/libglbarcode-3.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libglbarcode-3.0.so.0
+%{_datadir}/libglabels-3.0
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libglabels.so
-%{_libdir}/libglabels.la
-%{_includedir}/libglabels
-%{_pkgconfigdir}/libglabels.pc
+%attr(755,root,root) %{_libdir}/libglabels-3.0.so
+%attr(755,root,root) %{_libdir}/libglbarcode-3.0.so
+%{_includedir}/libglabels-3.0
+%{_includedir}/libglbarcode-3.0
+%{_pkgconfigdir}/libglabels-3.0.pc
+%{_pkgconfigdir}/libglbarcode-3.0.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/libglabels.a
+%{_libdir}/libglabels-3.0.a
+%{_libdir}/libglbarcode-3.0.a
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/libglabels
+%{_gtkdocdir}/libglabels-3.0
+%{_gtkdocdir}/libglbarcode-3.0
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -180,6 +194,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.43 2011/07/24 15:54:24 megabajt
+- updated to 3.0.0
+- added -link.patch; removed obsolete -desktop.patch
+
Revision 1.42 2010/10/06 10:42:06 baggins
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glabels/glabels.spec?r1=1.42&r2=1.43&f=u
More information about the pld-cvs-commit
mailing list