blob: 11d3fe5ed524603cf9decaa2621091d286d92df9 (
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
|
%define rel 4
Summary: CSS editor for web developers
Summary(pl): Edytor CSS dla programistów stron
Name: cssed
Version: 0.1
Release: 0.pre.%{rel}.1
Group: Development/Tools
License: GPL
Source0: http://dl.sourceforge.net/%{name}/%{name}-pre%{version}-%{rel}.tar.gz
# Source0-md5: d37c85bcb156119bf0611cfc01676453
URL: http://cssed.sourceforge.net
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtk+2-devel >= 2.0.0
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
BuildRequires: vte-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
cssed is a GTK+ CSS editor for web developers. It's not finished yet
and it's a beta release candidate only, but it's already a powerfull
CSS editor. cssed have features that allow any developer to speed his
coding as autocompletion or CSS syntax higlighting.
%description -l pl
cssed jest edytorem CSS opartym o GTK+ dla programistów stron WWW. Nie
jest jeszcze ukończony i jest to tylko wersja beta, ale już pokazuje
swoje potężne możliwości. Umożliwia między innymi przyspieszenie
kodowania CSS przez autouzupełnianie oraz podświetlanie składni CSS.
%prep
%setup -q -n %{name}-pre%{version}-%{rel}
%build
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make} \
OPT="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
install pixmaps/%{name}-icon.png \
$RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-icon.png
cat << EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
[Desktop Entry]
Name=Cssed
Comment=CSS editor
Exec=%{name}
Icon=%{name}-icon.png
Terminal=0
Type=Application
EOF
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{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}/cssed
%{_datadir}/%{name}
%{_pixmapsdir}/%{name}-icon.png
%{_desktopdir}/%{name}.desktop
%{_mandir}/man?/*
|