]> git.pld-linux.org Git - packages/glabels.git/blobdiff - glabels.spec
- 2.2.6
[packages/glabels.git] / glabels.spec
index 1335f4c40d24c5a2fe105d6f315c47d8c7a254a8..2cee1964e4e4d63110681907ac4e96bd2c83db6d 100644 (file)
 Summary:       gLabels - a GNOME2 program to create labels and business cards
-Summary(pl):   gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
+Summary(pl.UTF-8):     gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
 Name:          glabels
-Version:       1.92.0
+Version:       2.2.6
 Release:       1
 License:       GPL
 Group:         Applications/Graphics
-Source0:       http://snaught.com/%{name}/source/%{name}-%{version}.tar.gz
-# Source0-md5: df0374468989b1d1be433472dfad132b
-Patch0:                %{name}-DESTDIR.patch
-Patch1:                %{name}-desktop.patch
-URL:           http://snaught.com/glabels/
-BuildRequires: XFree86-devel
+Source0:       http://dl.sourceforge.net/glabels/%{name}-%{version}.tar.gz
+# Source0-md5: 594fffa4116a88772752c2582aa3605d
+Patch0:                %{name}-desktop.patch
+URL:           http://glabels.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: intltool
-BuildRequires: libbonobo-devel >= 2.0.0
-BuildRequires: libgnomeprintui-devel >= 2.2
-BuildRequires: libgnomeui-devel >= 2.3.3.1-2
+BuildRequires: docbook-dtd412-xml
+BuildRequires: evolution-data-server-devel >= 1.2
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.12.0
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gtk+2-devel >= 2.10.0
+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: libtool
-BuildRequires: libxml2-devel >= 2.4.23
+BuildRequires: libxml2-devel >= 1:2.6.19
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: scrollkeeper
+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)
 
 %description
 gLabels is a small stand-alone program for creating labels and
 business cards.
 
-%description -l pl
-gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
-wizytówek.
+%description -l pl.UTF-8
+gLabels jest małym, samodzielnym programem do tworzenia etykiet i
+wizytówek.
+
+%package libs
+Summary:       glabels shared libraries
+Summary(pl.UTF-8):     Biblioteki współdzielone glabels
+Group:         Libraries
+
+%description libs
+glabels shared libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki współdzielone glabels.
+
+%package devel
+Summary:       Header files for glabels
+Summary(pl.UTF-8):     Pliki nagłówkowe glabels
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for glabels.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe glabels.
+
+%package static
+Summary:       glabels static library
+Summary(pl.UTF-8):     Statyczna biblioteka glabels
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+glabels staic library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka glabels.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
-rm -f missing
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__libtoolize}
-intltoolize --copy --force
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__intltoolize}
+%{__gnome_doc_common}
+%{__gtkdocize}
+%{__aclocal}
 %{__autoheader}
 %{__automake}
 %{__autoconf}
 %configure \
-       --enable-platform-gnome-2
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir} \
+       --disable-update-desktopdb \
+       --disable-update-mimedb
+
 %{__make}
 
 %install
@@ -54,15 +104,49 @@ 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
+%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
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+%doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_datadir}/mime/packages/*
+%{_mandir}/man1/*.1*
 %{_pixmapsdir}/%{name}
+%{_pixmapsdir}/*.png
 %{_desktopdir}/*.desktop
+%{_omf_dest_dir}/%{name}
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.5
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_gtkdocdir}/libglabels
+%{_libdir}/lib*.la
+%{_includedir}/libglabels
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.096552 seconds and 4 git commands to generate.