]> git.pld-linux.org Git - packages/cssed.git/blob - cssed.spec
- update to -3
[packages/cssed.git] / cssed.spec
1 %define rel     3
2 Summary:        CSS editor for web developers
3 Summary(pl):    Edytor CSS dla programistów stron
4 Name:           cssed
5 Version:        0.1
6 Release:        0.pre.%{rel}.1
7 Group:          Development/Tools
8 License:        GPL
9 Source0:        http://dl.sourceforge.net/%{name}/%{name}-pre%{version}-%{rel}.tar.gz
10 # Source0-md5:  3058f4351805a899b19ffc78b8a42a47
11 Patch0:         %{name}-opt.patch
12 URL:            http://cssed.sourceforge.net
13 BuildRequires:  gtk+2-devel >= 2.0.0
14 BuildRequires:  libgnomeui-devel >= 2.0
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  pkgconfig
17 BuildRequires:  vte-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 cssed is a GTK+ CSS editor for web developers. It's not finished yet
22 and it's a beta release candidate only, but it's already a powerfull
23 CSS editor. cssed have features that allow any developer to speed his
24 coding as autocompletion or CSS syntax higlighting.
25
26 %description -l pl
27 cssed jest edytorem CSS opartym o GTK+ dla programistów stron WWW. Nie 
28 jest jeszcze ukoñczony i jest to tylko wersja beta, ale ju¿ pokazuje 
29 swoje potê¿ne mo¿liwo¶ci. Umo¿liwia miêdzy innymi przyspieszenie 
30 kodowania CSS przez autouzupe³nianie oraz pod¶wietlanie sk³adni CSS.
31
32 %prep
33 %setup -q -n %{name}-pre%{version}
34 %patch0 -p1
35
36 %build
37 %configure
38 %{__make} \
39         OPT="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
44
45 install pixmaps/%{name}-icon.png \
46         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-icon.png
47
48 cat << EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
49 [Desktop Entry]
50 Name=Cssed
51 Comment=CSS editor
52 Exec=%{name}
53 Icon=%{name}-icon.png
54 Terminal=0
55 Type=Application
56 EOF
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README
67 %attr(755,root,root) %{_bindir}/cssed
68 %{_datadir}/%{name}
69 %{_pixmapsdir}/%{name}-icon.png
70 %{_desktopdir}/%{name}.desktop
71 %{_mandir}/man?/*
This page took 0.04718 seconds and 3 git commands to generate.