]> git.pld-linux.org Git - packages/cssed.git/blob - cssed.spec
11d3fe5ed524603cf9decaa2621091d286d92df9
[packages/cssed.git] / cssed.spec
1 %define rel     4
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:  d37c85bcb156119bf0611cfc01676453
11 URL:            http://cssed.sourceforge.net
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gtk+2-devel >= 2.0.0
15 BuildRequires:  libgnomeui-devel >= 2.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
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 -n %{name}-pre%{version}-%{rel}
35
36 %build
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 %configure
41 %{__make} \
42         OPT="%{rpmcflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
47
48 install pixmaps/%{name}-icon.png \
49         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-icon.png
50
51 cat << EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
52 [Desktop Entry]
53 Name=Cssed
54 Comment=CSS editor
55 Exec=%{name}
56 Icon=%{name}-icon.png
57 Terminal=0
58 Type=Application
59 EOF
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_bindir}/cssed
73 %{_datadir}/%{name}
74 %{_pixmapsdir}/%{name}-icon.png
75 %{_desktopdir}/%{name}.desktop
76 %{_mandir}/man?/*
This page took 0.05256 seconds and 3 git commands to generate.