summaryrefslogtreecommitdiff
path: root/red-carpet.spec
blob: d30d58573ccb9ec47af9c632e6e41ffd153c27c9 (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
Summary:	Software update utility and manager
Summary(pl.UTF-8):	Narzędzie do aktualizacji i zarządzania oprogramowaniem
Name:		red-carpet
Version:	2.2.3
Release:	0.1
License:	GPL
Group:		X11/Applications
Source0:	%{name}-%{version}.tar.gz
# Source0-md5:	d67e8e355070ded001b0f2984efd8b28
Patch0:		%{name}-desktop.patch
Patch1:		%{name}-locale_names.patch
URL:		http://ximian.com/apps/redcarpet.php3
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libtool
BuildRequires:	libxslt-devel >= 1.0.30
BuildRequires:	python-devel >= 1:2.3
BuildRequires:	python-pygtk-devel >= 2.0.0
BuildRequires:	scrollkeeper >= 0.3.12
Requires:	python-pygtk-gtk >= 2.0.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Software update utility and manager.

%description -l pl.UTF-8
Narzędzie do aktualizacji i zarządzania oprogramowaniem.

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

mv po/{no,nb}.po

%build
glib-gettextize -f
%{__libtoolize}
%{__aclocal}
%{__automake}
%{__autoconf}

%configure 
#	--enable-standalone

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name} --with-gnome --all-name

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/*.so
%{_libdir}/%{name}/red_extra
%{_pixmapsdir}/%{name}
%{_pixmapsdir}/*.png
%{_datadir}/%{name}
%{_desktopdir}/*.desktop
%{_omf_dest_dir}/%{name}