implement correct packaging for library [release 1.25-2mamba;Fri Jul 17 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 22:40:10 +01:00
parent 19ac231392
commit 729ed381d0

View File

@ -1,6 +1,6 @@
Name: geany Name: geany
Version: 1.24.1 Version: 1.25
Release: 1mamba Release: 2mamba
Summary: A small and lightweight Integrated Development Environment Summary: A small and lightweight Integrated Development Environment
Group: Graphical Desktop/Applications/Development Group: Graphical Desktop/Applications/Development
Vendor: openmamba Vendor: openmamba
@ -20,14 +20,29 @@ BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
Geany is a small and lightweight Integrated Development Environment. Geany is a small and lightweight Integrated Development Environment.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep %prep
%setup -q %setup -q
@ -46,17 +61,48 @@ Geany is a small and lightweight Integrated Development Environment.
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
## note: this list is just an example; modify as required
# %{_bindir}/%{name}
%{_bindir}/%{name} %{_bindir}/%{name}
/usr/include/* %{_datadir}/applications/geany.desktop
/usr/lib/* %dir %{_datadir}/geany
%{_datadir}/* %{_datadir}/geany/*
# %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %{_datadir}/icons/Tango/*/actions/geany-save-all.png
# %{_mandir}/man?/* %{_datadir}/icons/Tango/scalable/actions/geany-save-all.svg
%doc AUTHORS COPYING ChangeLog ChangeLog.pre-0-17 NEWS README README.I18N README.Packagers THANKS TODO %{_datadir}/icons/hicolor/*
%{_datadir}/icons/hicolor/scalable/actions/*
%{_datadir}/icons/hicolor/scalable/apps/geany.svg
%dir %{_docdir}/geany
%{_docdir}/geany/*
%{_datadir}/doc/geany/manual.txt
%{_mandir}/man1/geany.1*
%files -n libgeany
%defattr(-,root,root)
%{_libdir}/libgeany.so.*
%dir %{_libdir}/geany
%{_libdir}/geany/*.la
%{_libdir}/geany/*.so
%doc AUTHORS COPYING
%files -n libgeany-devel
%defattr(-,root,root)
%dir %{_includedir}/geany
%{_includedir}/geany/*.h
%dir %{_includedir}/geany/scintilla
%dir %{_includedir}/geany/scintilla/*
%dir %{_includedir}/geany/tagmanager
%{_includedir}/geany/tagmanager/*.h
%{_libdir}/libgeany.la
%{_libdir}/libgeany.so
%{_libdir}/pkgconfig/geany.pc
%changelog %changelog
* Fri Jul 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.25-2mamba
- implement correct packaging for library
* Thu Jul 16 2015 Automatic Build System <autodist@mambasoft.it> 1.25-1mamba
- automatic update by autodist
* Wed Apr 16 2014 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba * Wed Apr 16 2014 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba
- automatic version update by autodist - automatic version update by autodist