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