]> git.pld-linux.org Git - packages/glabels.git/commitdiff
- PLD initial release by Fryderyk Dziarmagowski <freetz@gmx.net>
authoraflinta <aflinta@pld-linux.org>
Tue, 13 May 2003 14:26:55 +0000 (14:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glabels.spec -> 1.1

glabels.spec [new file with mode: 0644]

diff --git a/glabels.spec b/glabels.spec
new file mode 100644 (file)
index 0000000..46e1d57
--- /dev/null
@@ -0,0 +1,70 @@
+Summary:       gLabels is a GNOME2 program to create labels and business cards
+Summary(pl):   gLabels jest programem dla GNOME2 do tworzenia etykiet i wizytówek
+Name:          glabels
+Version:       1.91.1
+Release:       1
+License:       GPL
+Group:         Applications/Graphics
+Source0:       http://snaught.com/glabels/source/%{name}-%{version}.tar.gz
+Patch0:                %{name}-libgnomeprint_fix.patch
+Patch1:                %{name}-paths.patch
+Patch2:                %{name}-desktop.patch
+URL:           http://snaught.com/glabels/
+BuildRequires: XFree86-devel
+BuildRequires: libgnome-devel >= 2.2
+BuildRequires: libgnomecanvas-devel >= 2.2
+BuildRequires: libgnomeprint-devel >= 2.2
+BuildRequires: libgnomeprintui-devel >= 2.2
+BuildRequires: libgnomeui-devel >= 2.2
+BuildRequires: pkgconfig
+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.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+rm -f missing
+glib-gettextize --copy --force
+%{__libtoolize}
+intltoolize --copy --force
+%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+
+%configure \
+    --enable-platform-gnome-2
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --with-gnome --all-name
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README ChangeLog NEWS AUTHORS
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/glabels
+%dir %{_datadir}/glabels/ui
+%{_datadir}/glabels/ui/glabels-ui.xml
+%{_datadir}/glabels/predefined-labels.template
+%{_pixmapsdir}/glabels
+%{_desktopdir}/%{name}.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
This page took 0.068959 seconds and 4 git commands to generate.