Browse Source

cleanup packaging

master
parent
commit
648a964137
  1. 21
      atk/atk.patch
  2. 8
      atk/atk.spec

21
atk/atk.patch

@ -0,0 +1,21 @@
Index: atk/Makefile.in
--- atk/Makefile.in.orig 2003-05-12 09:40:27.000000000 +0200
+++ atk/Makefile.in 2003-11-16 13:09:52.000000000 +0100
@@ -145,7 +145,7 @@
LDFLAGS = -version-info $(LT_VERSION_INFO) $(export_symbols) $(no_undefined) @DEP_LIBS@
-libatkincludedir = $(includedir)/atk-1.0/atk
+libatkincludedir = $(includedir)/atk-1.0
atk_headers = atk.h atkaction.h atkcomponent.h atkdocument.h atkeditabletext.h atkgobjectaccessible.h atkhyperlink.h atkhypertext.h atknoopobject.h atknoopobjectfactory.h atkobject.h atkobjectfactory.h atkimage.h atkregistry.h atkrelation.h atkrelationtype.h atkrelationset.h atkselection.h atkstate.h atkstateset.h atkstreamablecontent.h atktable.h atktext.h atkutil.h atkvalue.h
Index: atk.pc.in
--- atk.pc.in.orig 2002-03-05 18:27:29.000000000 +0100
+++ atk.pc.in 2003-11-16 13:09:30.000000000 +0100
@@ -8,4 +8,4 @@
Version: @VERSION@
Requires: @GLIB_PACKAGES@
Libs: -L${libdir} -latk-@ATK_API_VERSION@
-Cflags: -I${includedir}/atk-1.0
+Cflags: -I${includedir}/atk-1.0 -I${includedir}

8
atk/atk.spec

@ -38,15 +38,16 @@ Distribution: OpenPKG [PLUS]
Group: XWindow
License: GPL
Version: %{V_atk}
Release: 20030612
Release: 20031116
# list of sources
Source0: ftp://ftp.gtk.org/pub/gtk/v%{V_gtk_major}/atk-%{V_atk}.tar.gz
Patch0: atk.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, make, X11, glib2 >= %{V_glib_major}
BuildPreReq: OpenPKG, openpkg >= 20020206, X11, glib2 >= %{V_glib_major}, make
PreReq: OpenPKG, openpkg >= 20020206, X11, glib2 >= %{V_glib_major}
AutoReq: no
AutoReqProv: no
@ -59,6 +60,7 @@ AutoReqProv: no
%prep
%setup -q -n atk-%{version}
%patch -p0
%{l_shtool} subst \
-e 's;/atk-1\.0;/atk;g' \
-e 's;libatk-1\.0\.la;libatk.la;g' \
@ -90,7 +92,7 @@ AutoReqProv: no
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gtk-doc
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/locale
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/*.la
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \

Loading…
Cancel
Save