]> git.pld-linux.org Git - packages/ftgl.git/commitdiff
initial release.
authorGreg Jaskiewicz <gryzman@gmail.com>
Sat, 19 Feb 2005 17:07:27 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
someone more expierenced please fix issue with %doc in %files

Changed files:
    ftgl.spec -> 1.1

ftgl.spec [new file with mode: 0644]

diff --git a/ftgl.spec b/ftgl.spec
new file mode 100644 (file)
index 0000000..2973060
--- /dev/null
+++ b/ftgl.spec
@@ -0,0 +1,76 @@
+Summary:       openGL font library
+Summary(pl):   latwy dostep do fontow z poziomu openGL
+Name:          ftgl
+Version:       2.1.2
+Release:       1
+Epoch:         0
+License:       LGPL
+Group:         X11/Libraries
+Source0:       ftp://ftp.pl.debian.org/pub/debian/pool/main/f/%{name}/%{name}_%{version}.orig.tar.gz
+# Source0-md5: 3eabec9ad37371c4d139408c7ffd2429
+Patch0:                %{name}-makefiles.patch
+URL:           http://homepages.paradise.net.nz/henryj/code/#FTGL
+BuildRequires: doxygen
+BuildRequires: OpenGL-devel
+BuildRequires:  freetype-devel
+Requires:      OpenGL
+Requires:      freetype
+Provides:      libftgl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FTGL is a free, open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications.
+ Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format.
+  FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. 
+  
+%description -l pl
+
+%package devel
+Summary:       FTGL, developers resource
+Group:         X11/Libraries
+
+%description devel
+FTGL, developers resource
+
+%prep
+%setup -q -n FTGL
+%patch0 -p1
+
+%build
+cd unix
+./configure \
+       --with-pic \
+       --prefix=%{_prefix} \
+       --bindir=%{_bindir} \
+       --libdir=%{_libdir} \
+       --libexecdir=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd unix
+%{__make} install install_prefix=$RPM_BUILD_ROOT 
+mv $RPM_BUILD_ROOT/usr/share/doc/ftgl $RPM_BUILD_ROOT/usr/share/doc/%{name}-devel-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+
+%post
+
+%preun
+
+%postun
+
+%files devel
+%defattr(644,root,root,755)
+
+#!FIXME
+#%doc COPYING.txt  HISTORY.txt  README.txt license.txt
+
+%attr(644,root,root) %{_includedir}/*
+%attr(755,root,root) %{_libdir}/*
+%attr(644,root,root) %{_datadir}/*
+
+%changelog
This page took 0.078982 seconds and 4 git commands to generate.