]> git.pld-linux.org Git - packages/geany.git/blob - geany.spec
f737a0cde7afdc34688753fce17bd2294502cd27
[packages/geany.git] / geany.spec
1 Summary:        Fast and lightweight IDE using GTK+2
2 Summary(pl.UTF-8):      Szybkie i lekkie IDE używające GTK+2
3 Name:           geany
4 Version:        0.12
5 Release:        1
6 License:        GPL v2+
7 Group:          Development/Tools
8 Source0:        http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bfb6dd5e833f2852935f93218a09de93
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-doc_dir.patch
12 URL:            http://geany.uvena.de/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2:2.4.0
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  pkgconfig
19 BuildRequires:  vte-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Geany is a small and lightweight integrated development environment.
24 It was developed to provide a small and fast IDE, which has only a few
25 dependencies from other packages. Another goal was to be as
26 independent as possible from a special Desktop Environment like KDE or
27 GNOME.
28
29 Basic features of Geany
30 - syntax highlighting
31 - code completion
32 - auto completion of often used constructs like if, for and while
33 - auto completion of XML and HTML tags
34 - call tips
35 - many supported filetypes like C, Java, PHP, HTML, Python, Perl,
36   Pascal
37 - symbol lists
38
39 %description -l pl.UTF-8
40 Geany jest małym i lekkim zintegrowanym środowiskiem programistycznym.
41 Został napisany z myślą o byciu małym i szybkim IDE, z małą liczbą
42 zależności od innych pakietów. Kolejnym, przyświecającym tworzeniu go
43 celem było maksymalne uniezależnienie od konkretnego środowiska
44 graficznego jak KDE czy GNOME.
45
46 Podstawowe cechy Geany to:
47 - podświetlanie składni
48 - uzupełnianie kodu
49 - automatyczne uzupełnianie często używanych konstrukcji jak if, for
50   i while
51 - automatyczne uzupełnianie znaczników XML i HTML
52 - wyświetlanie podpowiedzi
53 - wiele wspieranych typów plików jak C, Java, PHP, Python, Perl,
54   Pascal
55 - wykazy symboli
56
57 %package plugin-classbuilder
58 Summary:        Plugin for class maintenance in geany
59 Summary(pl.UTF-8):      Wtyczka do zarządzenia klasami w geany
60 Group:          Libraries
61
62 %description plugin-classbuilder
63 Plugin that allows maintenance of classes within geany
64
65 %description plugin-classbuilder -l pl.UTF-8 
66 Wtyczka pozwalająca na zarządzanie klasami w geany
67
68 %package plugin-export
69 Summary:        Plugin for exporting projects from geany
70 Summary(pl.UTF-8):      Wtyczka do eksportowania projektów z geany
71 Group:          Libraries
72
73 %description plugin-export
74 Plugin that allows exporting projects from geany into various formats
75 (html and latex by now)
76
77 %description plugin-export -l pl.UTF-8
78 Wtyczka służąca do eksportowania projektów z geany do różnych formatów
79 (aktualnie html i latex)
80
81 %package plugin-htmlchars
82 Summary:        Plugin for enhanced HTML editing in geany
83 Summary(pl.UTF-8):      Wtyczka z rozszerzeniami do edycji HTML w geany
84 Group:          Libraries
85
86 %description plugin-htmlchars
87 Plugin containing a library of special HTML tags.
88
89 %description plugin-htmlchars -l pl.UTF-8
90 Wtyczka zawierająca bibliotekę znaków specjalnych HTML
91
92 %prep
93 %setup -q
94 %patch0 -p1
95 %patch1 -p1
96
97 %build
98 %{__glib_gettextize}
99 %{__aclocal}
100 %{__autoheader}
101 %{__autoconf}
102 %{__automake}
103 %configure
104 %{__make}
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT
111
112 rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS NEWS README THANKS TODO scintilla/License.txt
122 %attr(755,root,root) %{_bindir}/%{name}
123 %{_desktopdir}/%{name}.desktop
124 %{_datadir}/%{name}
125 %{_pixmapsdir}/%{name}.png
126 %{_mandir}/man1/%{name}.1*
127 %dir %{_libdir}/%{name}
128
129 %files plugin-classbuilder
130 %{_libdir}/%{name}/classbuilder.so
131 %{_iconsdir}/hicolor/16x16/apps/classviewer-class.png
132 %{_iconsdir}/hicolor/16x16/apps/classviewer-macro.png
133 %{_iconsdir}/hicolor/16x16/apps/classviewer-member.png
134 %{_iconsdir}/hicolor/16x16/apps/classviewer-method.png
135 %{_iconsdir}/hicolor/16x16/apps/classviewer-namespace.png
136 %{_iconsdir}/hicolor/16x16/apps/classviewer-other.png
137 %{_iconsdir}/hicolor/16x16/apps/classviewer-struct.png
138 %{_iconsdir}/hicolor/16x16/apps/classviewer-var.png
139
140 %files plugin-export
141 %{_libdir}/%{name}/export.so
142
143 %files plugin-htmlchars
144 %{_libdir}/%{name}/htmlchars.so
This page took 0.080909 seconds and 2 git commands to generate.