summaryrefslogtreecommitdiff
path: root/gnome-pkgview.spec
blob: 6e8eb2fd49d330727409b48f6234fc7feaf2dd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Summary:	Displays the version of GNOME desktop components installed
Summary(pl.UTF-8):	Wyświetlanie wersji zainstalowanych komponentów środowiska GNOME
Name:		gnome-pkgview
Version:	1.0.6
Release:	3
License:	GPL
Group:		X11/Applications
Source0:	http://www.greatnorthern.demon.co.uk/packages/gnome-pkgview/%{name}-%{version}.tar.gz
# Source0-md5:	9b5e07077f06b72acb4568fc13f6d715
Patch0:		%{name}-locale-names.patch
Patch1:		%{name}-desktop.patch
URL:		http://www.greatnorthern.demon.co.uk/gnome-pkgview.html
BuildRequires:	GConf2-devel >= 2.4.0
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	gettext-tools
BuildRequires:	gnome-common
BuildRequires:	gnome-vfs2-devel >= 2.4.0
BuildRequires:	intltool >= 0.29
BuildRequires:	libgnomeui-devel >= 2.4.0
BuildRequires:	libxml2-devel >= 2.0.0
BuildRequires:	perl-XML-Parser
BuildRequires:	pkgconfig
Requires(post,preun):	GConf2
Requires:	gnome-desktop >= 2.4.0
Requires:	pkgconfig
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Currently, there is no easy way of determining which version of GNOME
you are running. Its a common question on IRC and on mailing lists.
This makes the task of debugging and providing support more difficult
for those who try to help out. This little application provides a
couple of useful pieces of information.

%description -l pl.UTF-8
Aktualnie nie ma prostej metody, która pozwalałaby sprawdzić, która
wersja GNOME jest aktualnie zainstalowana. Pytanie to jest powszechne
na IRC-u i listach dyskusyjnych. Sprawia to, że proces odpluskwiania i
udzielania pomocy jest trudniejszy dla tych, którzy próbują pomóc. Ta
mała aplikacja udostępnia kilka użytecznych informacji.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

mv po/{no,nb}.po

%build
%{__intltoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
	--disable-schemas-install
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%gconf_schema_install gnome-pkgview.schemas

%preun
%gconf_schema_uninstall gnome-pkgview.schemas

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/*
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*
%{_sysconfdir}/gconf/schemas/*.schemas