]>
Commit | Line | Data |
---|---|---|
1 | Summary: CSS editor for web developers | |
2 | Summary(pl.UTF-8): Edytor CSS dla programistów stron | |
3 | Name: cssed | |
4 | Version: 0.4.0 | |
5 | Release: 1 | |
6 | Group: X11/Development/Tools | |
7 | License: GPL | |
8 | Source0: http://dl.sourceforge.net/cssed/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: ff7c818d1f819b7d76b4f714be64e08e | |
10 | Source1: %{name}.desktop | |
11 | URL: http://cssed.sourceforge.net | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: gettext-tools | |
15 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
16 | BuildRequires: libstdc++-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: vte-devel | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | cssed is a GTK+ CSS editor for web developers. It's not finished yet | |
23 | and it's a beta release candidate only, but it's already a powerfull | |
24 | CSS editor. cssed have features that allow any developer to speed his | |
25 | coding as autocompletion or CSS syntax higlighting. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | cssed jest edytorem CSS opartym o GTK+ dla programistów stron WWW. Nie | |
29 | jest jeszcze ukończony i jest to tylko wersja beta, ale już pokazuje | |
30 | swoje potężne możliwości. Umożliwia między innymi przyspieszenie | |
31 | kodowania CSS przez autouzupełnianie oraz podświetlanie składni CSS. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure | |
42 | %{__make} \ | |
43 | OPT="%{rpmcflags}" | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
53 | install pixmaps/%{name}-icon.png \ | |
54 | $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-icon.png | |
55 | ||
56 | %find_lang %{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files -f %{name}.lang | |
62 | %defattr(644,root,root,755) | |
63 | %doc AUTHORS ChangeLog NEWS README | |
64 | %attr(755,root,root) %{_bindir}/cssed | |
65 | %{_datadir}/%{name} | |
66 | %{_pixmapsdir}/%{name}-icon.png | |
67 | %{_desktopdir}/%{name}.desktop | |
68 | %{_mandir}/man?/* |