diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-02-11 23:58:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-02-11 23:58:26 +0000 |
commit | 9f25cf7661d0ec0e1c987c1d4b1d6264e4d63c50 (patch) | |
tree | 4c5c58eaa2302ac5cb347e7c58ca3a8ef2b030a5 /pango.spec.in | |
parent | 89cdebf68ec4bab9829d8e0fb3296d3170fc3516 (diff) | |
download | pango-9f25cf7661d0ec0e1c987c1d4b1d6264e4d63c50.tar.gz |
make dist fixups.
Fri Feb 11 16:04:50 2000 Owen Taylor <otaylor@redhat.com>
* libpango/Makefile.am: make dist fixups.
* Makefile.am pango.spec.in: Add a spec file
* examples/HELLO.utf8: Change Maltese to a different
phrase to include some unique Maltese characters.
* libpango/Makefile.am modules/Makefile.am libpango/modules.c:
Move pango.modules file to /var
Diffstat (limited to 'pango.spec.in')
-rw-r--r-- | pango.spec.in | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/pango.spec.in b/pango.spec.in new file mode 100644 index 00000000..36a70426 --- /dev/null +++ b/pango.spec.in @@ -0,0 +1,70 @@ +%define prefix /usr + +Summary: System for layout and rendering of internationalized text +Name: pango +Version: @VERSION@ +Release: 1 +Copyright: LGPL +Group: System Environment/Libraries +Source: http://www.pango.org/download/pango-%{version}.tar.gz +BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root + +%description +A library to handle unicode strings + +%package devel +Summary: System for layout and rendering of internationalized text +Group: Development/Libraries +Requires: pango = %{PACKAGE_VERSION} +Requires: libunicode-devel +Requires: fribidi-devel +Requires: XFree86-devel + +%description devel +The pango-devel package includes the static libraries and header files +for the pango package. + +Install pango-devel if you want to develop programs which will use +pango. + +%changelog +* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com> +- Created spec file + +%prep +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --sysconfdir=/etc --localstatedir=/var + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{prefix} + +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +if ! test -d /var/lib/pango ; then + mkdir -p /var/lib/pango/ +fi +/usr/bin/pango-querymodules /usr/lib/pango/modules/*.so > /var/lib/pango/pango.modules + +%postun -p /sbin/ldconfig + +%files +%doc README AUTHORS COPYING ChangeLog TODO +%{prefix}/lib/libpango*-*.so +%{prefix}/bin/pango-querymodules +%{prefix}/lib/pango/modules/* + +%files devel +%defattr(-, root, root) +%{prefix}/lib/libpango*.so +%{prefix}/lib/libpango*.a +%{prefix}/include/* + + |