SPECS: mtpaint.spec (NEW) - New spec file.

japhy japhy at pld-linux.org
Sun Apr 9 15:17:30 CEST 2006


Author: japhy                        Date: Sun Apr  9 13:17:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- New spec file.

---- Files affected:
SPECS:
   mtpaint.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mtpaint.spec
diff -u /dev/null SPECS/mtpaint.spec:1.1
--- /dev/null	Sun Apr  9 15:17:30 2006
+++ SPECS/mtpaint.spec	Sun Apr  9 15:17:25 2006
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+Summary:	A simple painting program
+Summary(pl):	Prosty program graficzny
+Name:		mtpaint
+Version:	2.30
+Release:	0.1
+License:	GPL v2
+Group:		X11/Applications/Graphics
+Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5:	8582e791cf781d2f6ba85460823da247
+Source1:	%{name}.desktop
+URL:		http://mtpaint.sourceforge.net/
+BuildRequires:	gtk+2-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libtiff-devel
+BuildRequires:	giflib-devel
+BuildRequires:	libpng-devel
+BuildRequires:	zlib-devel
+BuildRequires:	gettext-devel
+BuildRequires:	perl-tools-pod
+BuildRequires:	sed >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple GTK paint program.
+
+%description -l pl
+Prosty program graficzny oparty na bibliotece GTK.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure man pod intl
+echo 'LDFLAG += %{rpmldflags}' >> _conf.txt
+echo 'CFLAG  += %{rpmcflags}'  >> _conf.txt
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__sed} -i "s,=\"/usr,=\"$RPM_BUILD_ROOT/usr," _conf.txt
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install src/icons1/icon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+
+%find_lang %{name}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/09 13:17:25  japhy
+- New spec file.
+
+
================================================================


More information about the pld-cvs-commit mailing list