]> git.pld-linux.org Git - packages/glom.git/blame - glom.spec
- updated to 1.26.0
[packages/glom.git] / glom.spec
CommitLineData
051643cb 1Summary: A user-friendly database environment
f7680377 2Summary(pl.UTF-8): Przyjazne użytkownikowi środowisko bazodanowe
7c214bde 3Name: glom
4ab1b777
JB
4Version: 1.26.0
5Release: 1
7c214bde 6License: GPL v2
d6830789 7Group: X11/Applications
4ab1b777
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/1.26/%{name}-%{version}.tar.xz
9# Source0-md5: 7e1d9fe660437e19134f52de0d2af5b4
7c214bde 10URL: http://www.glom.org/
086f6619
JB
11BuildRequires: autoconf >= 2.63
12BuildRequires: automake >= 1:1.10
13BuildRequires: boost-devel
14BuildRequires: evince-devel >= 3.0
15BuildRequires: gettext-devel >= 0.17
16BuildRequires: glibmm-devel >= 2.32.0
d6830789 17BuildRequires: gnome-doc-utils >= 0.10.0
086f6619
JB
18BuildRequires: goocanvas2-devel >= 2.0.1
19BuildRequires: goocanvasmm2-devel >= 1.90.8
4ab1b777 20BuildRequires: gtkmm3-devel >= 3.10.0
086f6619 21BuildRequires: gtksourceviewmm3-devel >= 3.0.0
d6830789 22BuildRequires: intltool >= 0.36.0
7c214bde 23BuildRequires: iso-codes
4ab1b777 24BuildRequires: libarchive-devel >= 3.0
086f6619 25BuildRequires: libepc-devel >= 0.4.0
4ab1b777 26BuildRequires: libgda5-devel >= 5.2.1
086f6619
JB
27BuildRequires: libgdamm5-devel >= 4.99.6
28BuildRequires: libstdc++-devel
29BuildRequires: libtool >= 2:2.2.0
30BuildRequires: libxml++-devel >= 2.23.1
051643cb 31BuildRequires: libxslt-devel >= 1.1.17
086f6619 32BuildRequires: mm-common >= 0.9.5
d6830789 33BuildRequires: pkgconfig
086f6619
JB
34BuildRequires: pkgconfig(libgda-mysql-5.0)
35BuildRequires: pkgconfig(libgda-postgres-5.0)
36BuildRequires: pkgconfig(libgda-sqlite-5.0)
37BuildRequires: python-devel
38BuildRequires: python-pygobject3-devel >= 2.29.0
d6830789
MB
39BuildRequires: rpmbuild(find_lang) >= 1.23
40BuildRequires: rpmbuild(macros) >= 1.311
086f6619
JB
41BuildRequires: sphinx-pdg
42BuildRequires: tar >= 1:1.22
43BuildRequires: xz
d6830789 44Requires(post,postun): desktop-file-utils
384aa7d7 45Requires(post,postun): gtk-update-icon-cache
16071c1b 46Requires(post,postun): hicolor-icon-theme
cd9b01bd 47Requires(post,postun): scrollkeeper
7c214bde 48Requires(post,postun): shared-mime-info
7c214bde 49%pyrequires_eq python-modules
086f6619
JB
50Requires: evince >= 3.0
51Requires: glibmm >= 2.32.0
52Requires: goocanvas2 >= 2.0.1
53Requires: goocanvasmm2 >= 1.90.8
4ab1b777 54Requires: gtkmm3 >= 3.10.0
086f6619
JB
55Requires: gtksourceviewmm3 >= 3.0.0
56Requires: iso-codes
57Requires: libepc >= 0.4.0
4ab1b777 58Requires: libgda5 >= 5.2.1
086f6619
JB
59Requires: libgdamm5 >= 4.99.6
60Requires: libxml++ >= 2.23.1
61Requires: libxslt >= 1.1.17
62Requires: python-pygobject3 >= 2.29.0
4ab1b777
JB
63Suggests: libgda5-provider-mysql >= 5.2.1
64Suggests: libgda5-provider-postgres >= 5.2.1
65Suggests: libgda5-provider-sqlite >= 5.2.1
7c214bde 66BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67
68%description
69Glom is an easy-to-use database designer and user interface.
70
34c48b30
JR
71%description -l pl.UTF-8
72Glom jest łatwym w użyciu programem do projektowania baz danych oraz
73interfejsem użytkownika.
7c214bde 74
086f6619
JB
75%package devel
76Summary: Header files for Glom library
77Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Glom
78Group: Development/Libraries
79Requires: %{name} = %{version}-%{release}
80
81%description devel
82Header files for Glom library.
83
84%description devel -l pl.UTF-8
85Pliki nagłówkowe biblioteki Glom.
86
87%package apidocs
88Summary: API documentation for Glom library and its Python binding
89Summary(pl.UTF-8): Dokumentacja API biblioteki Glom i jej wiązań do Pythona
90Group: Documentation
91
92%description apidocs
93API documentation for Glom library and its Python binding.
94
95%description apidocs -l pl.UTF-8
96Dokumentacja API biblioteki Glom i jej wiązań do Pythona.
97
98%package examples
99Summary: Examples for Glom
100Summary(pl.UTF-8): Przykłady dla Gloma
101Group: Documentation
102
103%description examples
104Examples for Glom.
105
106%description examples -l pl.UTF-8
107Przykłady dla Gloma.
108
7c214bde 109%prep
110%setup -q
7c214bde 111
112%build
051643cb 113%{__gnome_doc_prepare}
086f6619 114%{__gettextize}
7c214bde 115%{__intltoolize}
116%{__libtoolize}
7c214bde 117%{__aclocal} -I macros
7c214bde 118%{__autoconf}
d6830789 119%{__autoheader}
7c214bde 120%{__automake}
121%configure \
086f6619
JB
122 --disable-scrollkeeper \
123 --disable-silent-rules \
051643cb 124 --disable-static \
cd9b01bd 125 --disable-update-mime-database \
c0d9696b 126 --with-postgres-utils=%{_bindir}
7c214bde 127%{__make}
128
129%install
130rm -rf $RPM_BUILD_ROOT
131
132%{__make} install \
133 DESTDIR=$RPM_BUILD_ROOT
134
086f6619
JB
135%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
136%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
7c214bde 137
4ab1b777
JB
138install -d $RPM_BUILD_ROOT%{_examplesdir}
139cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
140
d6830789 141%find_lang %{name} --with-gnome --with-omf
7c214bde 142
143%clean
144rm -rf $RPM_BUILD_ROOT
145
146%post
147/sbin/ldconfig
d6830789 148%update_desktop_database_post
7c214bde 149%update_mime_database
150%update_icon_cache hicolor
cd9b01bd 151%scrollkeeper_update_post
7c214bde 152
153%postun
154/sbin/ldconfig
d6830789 155%update_desktop_database_postun
7c214bde 156%update_mime_database
157%update_icon_cache hicolor
cd9b01bd 158%scrollkeeper_update_postun
7c214bde 159
160%files -f %{name}.lang
161%defattr(644,root,root,755)
162%doc AUTHORS ChangeLog NEWS README TODO
d6830789 163%attr(755,root,root) %{_bindir}/glom
086f6619
JB
164%attr(755,root,root) %{_bindir}/glom_export_po
165%attr(755,root,root) %{_bindir}/glom_export_po_all
166%attr(755,root,root) %{_bindir}/glom_import_po_all
167%attr(755,root,root) %{_bindir}/glom_test_connection
4ab1b777
JB
168%attr(755,root,root) %{_libdir}/libglom-1.26.so.*.*.*
169%attr(755,root,root) %ghost %{_libdir}/libglom-1.26.so.0
170%attr(755,root,root) %{py_sitedir}/glom_1_26.so
7c214bde 171%{_datadir}/%{name}
086f6619 172%{_datadir}/appdata/glom.appdata.xml
d6830789
MB
173%{_datadir}/mime/packages/glom.xml
174%{_desktopdir}/glom.desktop
086f6619
JB
175%{_iconsdir}/hicolor/*/apps/glom.*
176
177%files devel
178%defattr(644,root,root,755)
4ab1b777
JB
179%attr(755,root,root) %{_libdir}/libglom-1.26.so
180%{_includedir}/glom-1.26
181%{_pkgconfigdir}/glom-1.26.pc
086f6619
JB
182
183%files apidocs
184%defattr(644,root,root,755)
4ab1b777
JB
185%{_docdir}/libglom-1.26
186%{_docdir}/pyglom_1_26
187%{_datadir}/devhelp/books/libglom-1.26
086f6619
JB
188
189%files examples
190%defattr(644,root,root,755)
191%attr(755,root,root) %{_bindir}/glom_create_from_example
4ab1b777 192%{_examplesdir}/%{name}-%{version}
This page took 0.092066 seconds and 4 git commands to generate.