]> git.pld-linux.org Git - packages/pong.git/blob - pong.spec
- tabs in preamble
[packages/pong.git] / pong.spec
1 Summary:        A library for creating configuration dialogs
2 Summary(pl.UTF-8):      Biblioteka do tworzenia dialogów konfiguracyjnych
3 Name:           pong
4 Version:        1.0.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.5z.com/pub/pong/%{name}-%{version}.tar.gz
9 # Source0-md5:  6d794f21b5e6d09eb438f432725cb3d4
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf-devel >= 0.6.0
12 BuildRequires:  automake
13 BuildRequires:  bonobo-devel >= 0.36
14 BuildRequires:  gdk-pixbuf-gnome-devel >= 0.7.0
15 BuildRequires:  gob >= 1.0.7
16 BuildRequires:  libglade-gnome-devel
17 BuildRequires:  libxml-devel
18 BuildRequires:  oaf-devel >= 0.6.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 PonG is a library and a GUI tool for creating GNOME dialog boxes from
23 an XML description. The XML describes the widgets and the gconf keys
24 to use, and PonG takes care of the rest. It can optionally use
25 libglade and/or bonobo for the widgets as well.
26
27 %description -l pl.UTF-8
28 PonG to biblioteka i narzędzie z graficznym interfejsem służące do
29 tworzenia okienek dialogowych GNOME z opisu w XML. XML opisuje widgety
30 i klucze gconf jakie mają być używane, a PonG zajmuje się całą resztą.
31 Opcjonalnie może używać także libglade i/lub bonobo do widgetów.
32
33 %package devel
34 Summary:        PonG header files
35 Summary(pl.UTF-8):      Pliki nagłówkowe PonG
36 Group:          X11/Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description devel
40 PonG developement files.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe PonG.
44
45 %package static
46 Summary:        Static PonG library
47 Summary(pl.UTF-8):      Statyczna biblioteka PonG
48 Group:          X11/Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static PonG library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka PonG.
56
57 %package edit
58 Summary:        Dialog box editor
59 Summary(pl.UTF-8):      Edytor okien dialogowych
60 Group:          X11/Development/Libraries
61 Requires:       %{name} = %{version}-%{release}
62
63 %description edit
64 Dialog box editor.
65
66 %description edit -l pl.UTF-8
67 Edytor okien dialogowych.
68
69 %prep
70 %setup -q
71
72 %build
73 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
74 mv -f configure.in.tmp configure.in
75 #%%{__libtoolize}
76 #xml-i18n-toolize --copy --force
77 #%{__aclocal} -I intl
78 #%{__autoconf}
79 %configure2_13
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_applnkdir}/Development}
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 install pong-edit/pong-edit.desktop $RPM_BUILD_ROOT%{_applnkdir}/Development
90
91 %find_lang %{name} --with-gnome
92
93 mv pong-tool/ChangeLog ChangeLog.pong-tool
94 mv pong/ChangeLog ChangeLog.pong
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog* NEWS README TODO
105 %attr(755,root,root) %{_bindir}/pong-tool*
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
107 %{_datadir}/idl/pong-interface.idl
108 %{_datadir}/omf/*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/pong-gconf-schema-export*
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %{_libdir}/lib*.la
115 %attr(755,root,root) %{_libdir}/*.sh
116 %{_aclocaldir}/*.m4
117 %{_includedir}/pong-1
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
122
123 %files edit
124 %defattr(644,root,root,755)
125 %doc pong-edit/ChangeLog
126 %attr(755,root,root) %{_bindir}/pong-edit*
127 %{_applnkdir}/Development/pong-edit.desktop
128 %dir %{_datadir}/pong-1
129 %{_datadir}/pong-1/*.glade
This page took 0.089079 seconds and 4 git commands to generate.