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
Version: 1.24.1
Release: 1mamba
Version: 1.25
Release: 2mamba
Summary: A small and lightweight Integrated Development Environment
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
@ -20,14 +20,29 @@ BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
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
%setup -q
@ -46,17 +61,48 @@ Geany is a small and lightweight Integrated Development Environment.
%files -f %{name}.lang
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{_bindir}/%{name}
%{_bindir}/%{name}
/usr/include/*
/usr/lib/*
%{_datadir}/*
# %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
# %{_mandir}/man?/*
%doc AUTHORS COPYING ChangeLog ChangeLog.pre-0-17 NEWS README README.I18N README.Packagers THANKS TODO
%{_datadir}/applications/geany.desktop
%dir %{_datadir}/geany
%{_datadir}/geany/*
%{_datadir}/icons/Tango/*/actions/geany-save-all.png
%{_datadir}/icons/Tango/scalable/actions/geany-save-all.svg
%{_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
* 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
- automatic version update by autodist