]> git.pld-linux.org Git - packages/glabels.git/blobdiff - glabels.spec
- 2.0.3
[packages/glabels.git] / glabels.spec
index 8031da81232cea97caf58f1c85f1931e74f6f489..d81628d50008b8e20389859038e9232237ed592b 100644 (file)
@@ -1,25 +1,31 @@
 Summary:       gLabels - a GNOME2 program to create labels and business cards
 Summary(pl):   gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
 Name:          glabels
-Version:       1.93.3
+Version:       2.0.3
 Release:       1
 License:       GPL
 Group:         Applications/Graphics
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: 29abf3f91ea9e8aec194744302175c02
-Patch0:                %{name}-desktop.patch
+Source0:       http://dl.sourceforge.net/glabels/%{name}-%{version}.tar.gz
+# Source0-md5: c077afdeac5ba0c685e404eea1d794e8
+Patch0:                %{name}-install.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://glabels.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gnome-common
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: howl-devel >= 0.9.10
 BuildRequires: intltool >= 0.21
-BuildRequires: libbonobo-devel >= 2.4.0
-BuildRequires: libglade2-devel >= 2.0.1
-BuildRequires: libgnomeprintui-devel >= 2.4.0
-BuildRequires: libgnomeui-devel >= 2.4.0
+BuildRequires: libbonobo-devel >= 2.8.1
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeprintui-devel >= 2.10.2
+BuildRequires: libgnomeui-devel >= 2.10.0-2
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 2.4.23
+BuildRequires: libxml2-devel >= 1:2.6.19
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: sed >= 4.0
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): scrollkeeper
 Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -69,16 +75,17 @@ Statyczna biblioteka glabels.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 mv -f po/{zh_TW.Big5,zh_TW}.po
-%{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
+sed -i -e 's/zh_TW\.Big5/zh_TW/' configure.in
 
 %build
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__libtoolize}
-intltoolize --copy --force
-gnome-doc-common --copy
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__intltoolize}
+%{__gnome_doc_common}
+%{__aclocal}
 %{__autoheader}
 %{__automake}
 %{__autoconf}
@@ -92,24 +99,31 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
+
 %find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /usr/bin/scrollkeeper-update
-%postun        -p /usr/bin/scrollkeeper-update
+%post
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
 
 %post  libs -p /sbin/ldconfig
-%postun        libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-%{_datadir}/application-registry/*
-%{_datadir}/mime-info/*
+%{_datadir}/mime/packages/*
+%{_mandir}/man1/*.1*
 %{_pixmapsdir}/%{name}
 %{_pixmapsdir}/*.png
 %{_desktopdir}/*.desktop
This page took 0.029784 seconds and 4 git commands to generate.