1 Summary: gLabels - a GNOME2 program to create labels and business cards
2 Summary(pl): gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
7 Group: Applications/Graphics
8 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 29abf3f91ea9e8aec194744302175c02
10 Patch0: %{name}-desktop.patch
11 URL: http://glabels.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gnome-common
15 BuildRequires: intltool >= 0.21
16 BuildRequires: libbonobo-devel >= 2.4.0
17 BuildRequires: libglade2-devel >= 2.0.1
18 BuildRequires: libgnomeprintui-devel >= 2.4.0
19 BuildRequires: libgnomeui-devel >= 2.4.0
20 BuildRequires: libtool
21 BuildRequires: libxml2-devel >= 2.4.23
22 BuildRequires: pkgconfig
23 Requires: %{name}-libs = %{version}-%{release}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 gLabels is a small stand-alone program for creating labels and
31 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
35 Summary: glabels shared libraries
36 Summary(pl): Biblioteki wspó³dzielone glabels
40 glabels shared libraries.
42 %description libs -l pl
43 Biblioteki wspó³dzielone glabels.
46 Summary: Header files for glabels
47 Summary(pl): Pliki nag³ówkowe glabels
48 Group: Development/Libraries
49 Requires: %{name}-libs = %{version}-%{release}
52 Header files for glabels.
54 %description devel -l pl
55 Pliki nag³ówkowe glabels.
58 Summary: glabels static library
59 Summary(pl): Statyczna biblioteka glabels
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 glabels staic library.
66 %description static -l pl
67 Statyczna biblioteka glabels.
73 mv -f po/{zh_TW.Big5,zh_TW}.po
74 %{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
77 glib-gettextize --copy --force
79 intltoolize --copy --force
80 gnome-doc-common --copy
81 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
86 --enable-platform-gnome-2
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 %find_lang %{name} --with-gnome --all-name
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /usr/bin/scrollkeeper-update
101 %postun -p /usr/bin/scrollkeeper-update
103 %post libs -p /sbin/ldconfig
104 %postun libs -p /sbin/ldconfig
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog README TODO
109 %attr(755,root,root) %{_bindir}/*
111 %{_datadir}/application-registry/*
112 %{_datadir}/mime-info/*
113 %{_pixmapsdir}/%{name}
115 %{_desktopdir}/*.desktop
116 %{_omf_dest_dir}/%{name}
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/lib*.so
126 %{_includedir}/libglabels
129 %defattr(644,root,root,755)