]> git.pld-linux.org Git - packages/gdkxft.git/commitdiff
- fix it (more macros; proper dirs)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 6 Sep 2001 20:45:23 +0000 (20:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdkxft.spec -> 1.5

gdkxft.spec

index 9881ad170e340a61d627e4eb5d94e6a829c65325..714d0e3ad653bb674d428a760a9d479339c8b277 100644 (file)
@@ -1,4 +1,6 @@
+%include       /usr/lib/rpm/macros.perl
 Summary:       Adapt GTK-1.2 to support xft fonts
+Summary(pl):   Wsparcie dla fontów xft dla GTK-1.2
 Name:          gdkxft
 Version:       1.0
 Release:       1
@@ -14,37 +16,58 @@ Group(uk):  X11/
 Source0:       http://philrsss.anu.edu.au/~josh/gdkxft/%{name}-%{version}.tar.gz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 URL:           http://philrsss.anu.edu.au/~josh/gdkxft/
-Requires:      gtk+
-%define prefix   /usr/X11R6
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: XFree86-devel
+BuildRequires: perl-devel
+BuildRequires: gtk+-devel >= 1.2.0
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description 
 A library that adds transparent support for anti-aliased fonts to the
 libgdk component of gtk+-1.2.x. Gtk+ widgets will automagically use
 the fonts.
 
+%description -l pl
+Biblioteka dodaj±ca prze¼roczyst± obs³ugê dla wyg³adzanych fontów
+w komponencie libgdk biblioteki gtk+-1.2.x. Widgety gtk+ automatycznie
+bêd± u¿ywa³y tych fontów.
+
 %prep
 %setup -q
 
 %build
-./configure --prefix=%prefix
+rm missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+       
+gzip -9nf AUTHORS COPYING ChangeLog NEWS README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{prefix}/bin/gdkxft_sysinstall
+%{_bindir}/gdkxft_sysinstall
 
 %preun
-%{prefix}/bin/gdkxft_sysinstall -u
+%{_bindir}/gdkxft_sysinstall -u
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc *.gz
 %config %{_datadir}/gdkxft.conf
 %{_libdir}/libgdkxft.*
 %attr(755,root,root) %{_bindir}/gdkxft_sysinstall
This page took 0.049466 seconds and 4 git commands to generate.