]> git.pld-linux.org Git - packages/gnome-pkgview.git/blob - gnome-pkgview.spec
- tabs in preamble
[packages/gnome-pkgview.git] / gnome-pkgview.spec
1 Summary:        Displays the version of GNOME desktop components installed
2 Summary(pl.UTF-8):      Wyświetlanie wersji zainstalowanych komponentów środowiska GNOME
3 Name:           gnome-pkgview
4 Version:        1.0.6
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.greatnorthern.demon.co.uk/packages/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  9b5e07077f06b72acb4568fc13f6d715
10 Patch0:         %{name}-locale-names.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.greatnorthern.demon.co.uk/gnome-pkgview.html
13 BuildRequires:  GConf2-devel >= 2.4.0
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-vfs2-devel >= 2.4.0
18 BuildRequires:  intltool >= 0.29
19 BuildRequires:  libgnomeui-devel >= 2.4.0
20 BuildRequires:  libxml2-devel >= 2.0.0
21 BuildRequires:  perl-XML-Parser
22 BuildRequires:  pkgconfig
23 Requires(post,preun):   GConf2
24 Requires:       gnome-desktop >= 2.4.0
25 Requires:       pkgconfig
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Currently, there is no easy way of determining which version of GNOME
30 you are running. Its a common question on IRC and on mailing lists.
31 This makes the task of debugging and providing support more difficult
32 for those who try to help out. This little application provides a
33 couple of useful pieces of information.
34
35 %description -l pl.UTF-8
36 Aktualnie nie ma prostej metody, która pozwalałaby sprawdzić, która
37 wersja GNOME jest aktualnie zainstalowana. Pytanie to jest powszechne
38 na IRC-u i listach dyskusyjnych. Sprawia to, że proces odpluskwiania i
39 udzielania pomocy jest trudniejszy dla tych, którzy próbują pomóc. Ta
40 mała aplikacja udostępnia kilka użytecznych informacji.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46
47 mv po/{no,nb}.po
48
49 %build
50 %{__intltoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --disable-schemas-install
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %gconf_schema_install gnome-pkgview.schemas
71
72 %preun
73 %gconf_schema_uninstall gnome-pkgview.schemas
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog README
78 %attr(755,root,root) %{_bindir}/*
79 %{_desktopdir}/*.desktop
80 %{_pixmapsdir}/*
81 %{_sysconfdir}/gconf/schemas/*.schemas
This page took 0.052327 seconds and 3 git commands to generate.