]> git.pld-linux.org Git - packages/glabels.git/blame - glabels.spec
noarch apidocs
[packages/glabels.git] / glabels.spec
CommitLineData
57e489a2
MB
1Summary: gLabels - a GNOME program to create labels and business cards
2Summary(pl.UTF-8): gLabels - program dla GNOME do tworzenia etykiet i wizytówek
19f5049f 3Name: glabels
b3119fdc 4Version: 3.0.1
8228dd29 5Release: 3
0882a4f4 6License: GPL v3
57e489a2 7Group: X11/Applications/Graphics
b3119fdc
ŁK
8Source0: http://ftp.gnome.org/pub/GNOME/sources/glabels/3.0/%{name}-%{version}.tar.xz
9# Source0-md5: 21abcdb6f812f03c628fdc77adfc0573
0882a4f4 10Patch0: %{name}-link.patch
b3119fdc 11Patch1: eds-3.6.patch
0882a4f4
MB
12URL: http://www.glabels.org/
13BuildRequires: autoconf >= 2.64
24de736e 14BuildRequires: automake
0882a4f4 15BuildRequires: barcode-devel >= 0.98
8f80a103 16BuildRequires: docbook-dtd412-xml
b3119fdc 17BuildRequires: evolution-data-server-devel >= 3.6.0
8f80a103 18BuildRequires: gettext-devel
0882a4f4 19BuildRequires: glib2-devel >= 1:2.28.2
bbd08661 20BuildRequires: gnome-common >= 2.8.0
444e8e09 21BuildRequires: gnome-doc-utils
0882a4f4 22BuildRequires: gtk+3-devel >= 3.0.9
9ae0d152 23BuildRequires: gtk-doc >= 1.0
0882a4f4
MB
24BuildRequires: iec16022-devel >= 0.2.4
25BuildRequires: intltool >= 0.40.0
26BuildRequires: librsvg-devel >= 2.32.0
24de736e 27BuildRequires: libtool
0882a4f4 28BuildRequires: libxml2-devel >= 1:2.7.8
19f5049f 29BuildRequires: pkgconfig
0882a4f4
MB
30BuildRequires: qrencode-devel >= 3.1.0
31BuildRequires: rpmbuild(macros) >= 1.592
b3119fdc
ŁK
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
0882a4f4
MB
34BuildRequires: zint-devel >= 2.4.0
35Requires(post,postun): glib2 >= 1:2.26.0
2ebebbfe 36Requires(post,postun): desktop-file-utils
57e489a2 37Requires(post,postun): shared-mime-info
0882a4f4 38Requires(post,postun): gtk-update-icon-cache
eda7a1c6 39Requires: %{name}-libs = %{version}-%{release}
0882a4f4 40Requires: hicolor-icon-theme
19f5049f 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44gLabels is a small stand-alone program for creating labels and
45business cards.
46
4d57a829
JR
47%description -l pl.UTF-8
48gLabels jest małym, samodzielnym programem do tworzenia etykiet i
49wizytówek.
19f5049f 50
eda7a1c6 51%package libs
52Summary: glabels shared libraries
f96878fa 53Summary(pl.UTF-8): Biblioteki współdzielone glabels
0882a4f4 54License: LGPL v3
eda7a1c6 55Group: Libraries
56
57%description libs
58glabels shared libraries.
59
4d57a829
JR
60%description libs -l pl.UTF-8
61Biblioteki współdzielone glabels.
eda7a1c6 62
63%package devel
64Summary: Header files for glabels
f96878fa 65Summary(pl.UTF-8): Pliki nagłówkowe glabels
0882a4f4 66License: LGPL v3
eda7a1c6 67Group: Development/Libraries
68Requires: %{name}-libs = %{version}-%{release}
0882a4f4
MB
69Requires: glib2-devel >= 1:2.28.2
70Requires: libxml2-devel >= 1:2.7.8
71Requires: pango-devel
eda7a1c6 72
73%description devel
74Header files for glabels.
75
4d57a829
JR
76%description devel -l pl.UTF-8
77Pliki nagłówkowe glabels.
eda7a1c6 78
79%package static
80Summary: glabels static library
f96878fa 81Summary(pl.UTF-8): Statyczna biblioteka glabels
0882a4f4 82License: LGPL v3
eda7a1c6 83Group: Development/Libraries
84Requires: %{name}-devel = %{version}-%{release}
85
86%description static
87glabels staic library.
88
4d57a829 89%description static -l pl.UTF-8
eda7a1c6 90Statyczna biblioteka glabels.
91
57e489a2
MB
92%package apidocs
93Summary: glabels library API documentation
94Summary(pl.UTF-8): Dokumentacja API biblioteki glabels
95Group: Documentation
96Requires: gtk-doc-common
8228dd29
ER
97%if "%{_rpmversion}" >= "5"
98BuildArch: noarch
99%endif
57e489a2
MB
100
101%description apidocs
102glabels library API documentation.
103
104%description apidocs -l pl.UTF-8
105Dokumentacja API biblioteki glabels.
106
19f5049f 107%prep
108%setup -q
48d936e9 109%patch0 -p1
b3119fdc 110%patch1 -p1
19f5049f 111
112%build
2ebebbfe 113%{__glib_gettextize}
2ebebbfe 114%{__gnome_doc_common}
9ae0d152 115%{__gtkdocize}
0882a4f4
MB
116%{__intltoolize}
117%{__libtoolize}
bbd08661 118%{__aclocal}
19f5049f 119%{__autoheader}
19f5049f 120%{__autoconf}
0882a4f4 121%{__automake}
19f5049f 122%configure \
0882a4f4
MB
123 --disable-silent-rules \
124 --disable-schemas-compile \
9ae0d152 125 --enable-gtk-doc \
0882a4f4 126 --with-html-dir=%{_gtkdocdir}
8f80a103 127
19f5049f 128%{__make}
129
130%install
131rm -rf $RPM_BUILD_ROOT
132
133%{__make} install \
134 DESTDIR=$RPM_BUILD_ROOT
135
0882a4f4 136%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
2ebebbfe 137
0882a4f4 138%find_lang %{name}-3.0 --with-gnome
19f5049f 139
24de736e
JB
140%clean
141rm -rf $RPM_BUILD_ROOT
142
48d936e9 143%post
2ebebbfe 144%update_desktop_database_post
57e489a2 145%update_mime_database
0882a4f4
MB
146%update_icon_cache hicolor
147%glib_compile_schemas
48d936e9 148
149%postun
2ebebbfe 150%update_desktop_database_postun
57e489a2 151%update_mime_database
0882a4f4
MB
152%update_icon_cache hicolor
153%glib_compile_schemas
2ebebbfe 154
24723a20 155%post libs -p /sbin/ldconfig
37a3a6ad 156%postun libs -p /sbin/ldconfig
eda7a1c6 157
0882a4f4 158%files -f %{name}-3.0.lang
19f5049f 159%defattr(644,root,root,755)
eda7a1c6 160%doc AUTHORS ChangeLog README TODO
0882a4f4
MB
161%attr(755,root,root) %{_bindir}/glabels-3
162%attr(755,root,root) %{_bindir}/glabels-3-batch
163%{_datadir}/glabels-3.0
164%{_datadir}/glib-2.0/schemas/org.gnome.glabels-3.gschema.xml
165%{_datadir}/mime/packages/glabels-3.0.xml
e8196dfa 166%{_mandir}/man1/*.1*
0882a4f4
MB
167%{_desktopdir}/glabels-3.0.desktop
168%{_iconsdir}/hicolor/*/*/*.png
eda7a1c6 169
170%files libs
171%defattr(644,root,root,755)
0882a4f4
MB
172%attr(755,root,root) %{_libdir}/libglabels-3.0.so.*.*.*
173%attr(755,root,root) %ghost %{_libdir}/libglabels-3.0.so.8
174%attr(755,root,root) %{_libdir}/libglbarcode-3.0.so.*.*.*
175%attr(755,root,root) %ghost %{_libdir}/libglbarcode-3.0.so.0
176%{_datadir}/libglabels-3.0
eda7a1c6 177
178%files devel
179%defattr(644,root,root,755)
0882a4f4
MB
180%attr(755,root,root) %{_libdir}/libglabels-3.0.so
181%attr(755,root,root) %{_libdir}/libglbarcode-3.0.so
182%{_includedir}/libglabels-3.0
183%{_includedir}/libglbarcode-3.0
184%{_pkgconfigdir}/libglabels-3.0.pc
185%{_pkgconfigdir}/libglbarcode-3.0.pc
eda7a1c6 186
187%files static
188%defattr(644,root,root,755)
0882a4f4
MB
189%{_libdir}/libglabels-3.0.a
190%{_libdir}/libglbarcode-3.0.a
57e489a2
MB
191
192%files apidocs
193%defattr(644,root,root,755)
0882a4f4
MB
194%{_gtkdocdir}/libglabels-3.0
195%{_gtkdocdir}/libglbarcode-3.0
This page took 0.066871 seconds and 4 git commands to generate.