SPECS: fudgefont.spec (NEW) - initial - nfy

lisu lisu at pld-linux.org
Tue Aug 14 20:50:22 CEST 2007


Author: lisu                         Date: Tue Aug 14 18:50:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial
- nfy

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

---- Diffs:

================================================================
Index: SPECS/fudgefont.spec
diff -u /dev/null SPECS/fudgefont.spec:1.1
--- /dev/null	Tue Aug 14 20:50:22 2007
+++ SPECS/fudgefont.spec	Tue Aug 14 20:50:17 2007
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+# TODO:
+# - build examples and add them to main package
+
+Summary:	-
+Summary(pl.UTF-8):	-
+Name:		fudgefont
+Version:	1.2
+Release:	0.1
+License:	MIT
+Group:		Applications
+Source0:	http://dfn.dl.sourceforge.net/sourceforge/fudgefont/%{name}-%{version}-src.7z
+# Source0-md5:	57bbe9b92d4f25210f803db481eb0939
+Patch0:		%{name}-paths.patch
+URL:		http://fudgefont.sourceforge.net/
+BuildRequires:	p7zip
+BuildRequires:	scons
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%package devel
+Summary:	Header files for fudgefont library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki fudgefont
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for fudgefont library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki fudgefont.
+
+%prep
+rm -rf fudgefont-1.2-src
+7z x ../SOURCES/%{name}-%{version}-src.7z
+cd %{name}-%{version}-src
+%patch0 -p1
+
+%build
+cd %{name}-%{version}-src
+scons
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+
+cd %{name}-%{version}-src
+install libfudgefont.so $RPM_BUILD_ROOT%{_libdir}
+install src/fudgefont.h $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfudgefont.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/fudgefont.h
+
+%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  2007/08/14 18:50:17  lisu
+- initial
+- nfy
+
================================================================


More information about the pld-cvs-commit mailing list